The Hunger Games star Dayo Okeniyi has landed the final lead role in Terminator: Genesis, portraying the son of Miles Dyson, Danny.

Earlier this week, we reported that John Boyega (Attack the Block) was vying for that role, just weeks after he was mentioned as a contender to play a Jedi apprentice in Star Wars: Episode VII. As it turns out, Deadline reports that Dayo Okeniyi also tested for a role in Star Wars: Episode VII before taking the Terminator: Genesis role.

RELATED: Terminator Producer Says Franchise Has Future, Knows What It'll Take to Make It Great

(Does this mean Star Wars 7 is casting Boyega? We don't know yet.)

Danny is said to be a Steve Jobs-type genius, who figures heavily into the conclusion of the story. Since Terminator: Genesis is said to be the first in a stand-alone trilogy, which incorporates elements from the previous movies, it's possible that Danny could play a bigger role in subsequent sequels.

Danny's father Miles Dyson, portrayed by Joe Morton in 1991's Terminator 2: Judgment Day, is the Cyberdyne engineer most responsible for the creation of Skynet. A young Danny, played by DeVaughn Nixon, was featured in a Terminator 2: Judgment Day scene where Terminator (Arnold Schwarzenegger), Sarah Connor (Linda Hamilton) and John Connor (Edward Furlong) paid a visit to the Dyson's.

Alan Taylor (Thor: The Dark World) is directing from a script by Patrick Lussier (Drive Angry) and Laeta Kalogridis (White House Down). Producer David Ellison's Skydance Productions is providing financing for this sci-fi action-thriller, which also stars Arnold Schwarzenegger as an aging T-800 Terminator, Jason Clarke as John Connor, Emilia Clarke as Sarah Connor, Jai Courtney as Kyle Reese and J.K. Simmons as a detective who has been obsessed with the Terminator/Sarah Connor case since 1984. Production is scheduled to begin next month in New Orleans.

Dayo Okeniyi's other credits include The Spectacular Now, Runner, Runner, Cavemen and Endless Love.