near the Giza pyramid complex and are attacked by the Decepticons. The Constructicons combine to form Devastator, who reveals the sun harvester hidden inside a pyramid before he is destroyed. A majority of the Decepticons are annihilated, mostly with multiple airstrikes from the Navy and the Air Force, but Megatron badly injures Sam. Near-death, the Primes speak to Sam, saying that the Matrix must be earned, not found and that he has the right to bear it by fighting for Optimus. They revive Sam and grant him the Matrix, which he uses to restore Optimus. The Fallen steals the Matrix from a weakened Optimus and uses it to activate the sun harvester. After Jetfire (who was wounded by Scorponok, but was able to kill his attacker) sacrifices himself to allow his parts to be used for additional power and flight, Optimus destroys the harvester and kills the Fallen. Heavily damaged and distraught by his master's death, Megatron retreats with Starscream. The Autobots and their allies then return to the United States, and Sam and Leo return to college. Cast Shia LaBeouf as Sam Witwicky: A recent high school graduate who is unwittingly drawn again into the Autobot cause to unravel an ancient mystery implanted into his mind by the now-destroyed Allspark. Megan Fox as Mikaela Banes: Sam's girlfriend whom he trusts as the Allspark fragments begin to unravel. Josh Duhamel as William Lennox: A U.S. Army Special Forces Major who establishes NEST to help the Autobots in their battle against the remaining Decepticons. Tyrese Gibson as Robert Epps: A U.S. Air Force Master Sergeant and Combat Controller in Lennox's team who leads NEST's SWAT unit. John Turturro as Seymour Simmons: A former agent of the recently terminated Sector 7 who now runs a meat shop in New York City with his mother, Tova Simmons. Ramon Rodriguez as Leo Spitz: A college roommate of Sam's who runs an online conspiracy blog and is obsessed with the Transformers. Before Rodríguez was cast, Jonah Hill was in talks to play the role but Seth Rogen advised him to turned it down to focus instead on his own projects. Hill chose to do Night at the Museum: Battle of the Smithsonian instead. Kevin Dunn as Ron Witwicky: Sam's father. Julie White as Judith Witwicky: Sam's mother. Isabel Lucas as Alice: A female pretender sent to spy on Sam in college. John Benjamin Hickey as