The Enterprise crew follows Data back in time to 19th-century San Francisco, where an old friend must help them stop a pair of aliens from murdering innocent people.