The princes visited the set of Episode VIII in April 2016.
Meghan Markle isn't the only (soon-to-be) member of the royal family with some acting chops!
Prince William and Prince Harry both have cameos in Star Wars: The Last Jedi, star John Boyega confirmed in November. The brothers hopped in front of the camera dressed as stormtroppers during a visit to the film's set at Pinewood Studios in April 2016 -- and celebrated their cameos at The Last Jedi premiere at Royal Albert Hall in London on Tuesday.
William and Harry couldn't have looked more dapper on the red carpet, where they met up with their stormtrooper friends and caught up with BB-8.
Kensington Palace took to Twitter shortly before the princes' arrival to share in an opening crawl that the premiere will benefit The Royal Foundation of the Duke and Duchess of Cambridge and Prince Harry.
ET spoke with Daisy Ridley at The Last Jedi's Los Angeles premiere on Saturday, where she revealed who made a better stormtropper -- William or Harry.
Watch below.
Star Wars: The Last Jedi hits theaters on Friday.
RELATED CONTENT: