Shortly after the Battle of Endor, Leia Organa visited Naboo with Shara Bey to entreat Queen Soruna to join the New Republic. While there, Imperial remnant forces attacked the planet, and Leia piloted an N-1 Starfighter to help defend the planet.