A New Zealand film editor was behind the shocking scene at the end of Rogue One: a Star Wars Story, according to director Gareth Edwards.
Edwards told American film website Fandango that the scene in which Darth Vader enters the Rebel ship and opens fire on its occupants was the brainchild of Kiwi Jabez Olssen.
Edwards said in the original version, Vader never boards the ship.
"He arrives and obliterates the Calamari ship, and then the blockade runner gets out just in time and he pursues the blockade runner. And then Jabez was like, 'I think we need to get Darth on that ship,'" he told Fandango.
Edwards said he loved the idea but thought it would not be approved only three or four months before release.