Answer
"Star Trek: First Contact", released in 1996, marked Jonathan Frakes' directorial debut in the Star Trek franchise. The film, set in a dystopian future, follows the crew of the USS Enterprise-E as they travel back in time to prevent the Borg from assimilating Earth.