Star Trek director J.J. Abrams will be helming the next Star Wars movie.

“It’s done deal with J.J.,” a source with knowledge of the situation told Deadline today. Argo director Ben Affleck was also up for the gig, the source says.

Abrams was courted heavily by producer Kathleen Kennedy to take the Star Wars job