Royal Naboo Security Forces / Legends The Royal Naboo Security Forces , shortened as Royal Security Forces , or abbreviated as RSNF and RSF , were the premier line of defense for both the Theed Royal Palace and the citizens of Naboo . A peaceful people , the Naboo retained only security officers and guards rather than a true military organization . History . Early history . The Royal Naboo Security Forces existed after 67 BBY on the planet Naboo . Captain Maris Magneta was the head of the force under King Ars Veruna . Magneta resigned after Veruna ' s mysterious death and was replaced by Quarsh Panaka , who instigated tighter security procedures for Queen Amidala , including decoy handmaiden s . The members often got off - world experience , but returned out of loyalty to serve . The Security Forces were stationed in the main hangar in Theed , the capital city . The Battle of Naboo . The Security Forces were forced into their first real battle against the organization called the Trade Federation in 32 BBY , and fought valiantly , yet in vain , against its battle droid legions during the Invasion of Naboo . The Federation detained them in prison camps until some were freed by Lieutenant Gavyn Sykes , while survivors formed a portion of the resistance . . The Federation established their own patrols on the planet . Queen Amidala and Captain Panaka rallied the troops upon their return to Naboo , and were able to capture the Federation ' s leader , Viceroy Nute Gunray , and end the droid occupation . The Security Forces continued to protect Naboo following these battles , though adopted many increased security measures during the Separatist Crisis and the eventual Clone Wars . Clone Wars . Around 22 BBY , Supreme Chancellor Palpatine arrived back on Naboo for the Festival of Light . The Security Forces established a defensive position around the Chancellor ' s Podium , but a team of bounty hunters managed to abduct the Chancellor . He was successfully rescued by the Jedi Knight Anakin Skywalker . Around that time , the ELG - 3A blaster pistol was a standard - issue blaster aboard all RSF ships , including their battleships . The rise of the Empire . The Security Forces had to show their determination when the Galactic Empire became the new galactic order . In 19 BBY , the security guards , along with some Gungans , attacked the Imperial garrison in Theed . The object of the attack was to stop Inquisitor Malorum from transmitting a vital secret . Ultimately , ex - Jedi Ferus Olin killed the Inquisitor in the Plasma Refinery Complex , while the Royal Naboo Security Forces and the Gungan Grand Army achieved the victory in the city and in the Imperial garrison . To hide the attack an illegal weapons cache in the Theed Hangar was detonated . However , peace for the security forces was short - lived . Naboo ' s then queen , Apailana , had been housing Jedi runaways fleeing from the Empire ' s Great Jedi Purge at her own risk . When it was ordered that Apailana be executed for treason , the Empire had prepared its elite 501st Legion of stormtroopers . The Security Forces tried their best to hold off the 501st during what was later called the Fall of Naboo . However , the Royal Palace was soon besieged . The Naboo forces were quickly beheaded without a strong leader like Panaka had once been . Auto - turrets were shut down and the grid console destroyed . Most of the security and palace fighters met their dooms . At last , Apailana was assassinated in the royal plaza in the midst of the battle . The Royal Naboo Security Forces were at last defeated , and most of the remaining survivors loyal to Apailana were quietly arrested and transported to the secret Death Star detention centers . During the Imperial Period , the Royal Naboo Security Forces owned a Mon Calamari Star Cruiser , the RNS " Queen Amidala IV " . The Galactic Civil War . The Queen ' s Royal Guard ( established for the following queen , Kylantha ) took the place of the once - experienced Royal Naboo Security Forces , who were relegated to being a type of police force . Rather than having many branches as the old security forces , the Royal Guard was made up of only a select few bodyguards whom the monarch knew personally . While the RSF continued as a small police force , protection of Naboo and its systems was mainly performed by the Imperial stormtroopers until the rise of the New Republic . Sometime after the Battle of Yavin , the weakened RSF police force had severe problems with the many criminal gangs that had swamped the planet after the rise of the Empire . The RSF employed such people as Harriet Brunser , Gregar Typho , Mercious Bragg , Karenna Dunnels , and Sundria Khartoor . Quarsh Panaka would on occasion delegate missions to the agents of the RSF , as would Pooja Naberrie . With no help from the Imperial garrison , the RSF had completely lost the grip on the overwhelming criminal activity . Fortunately , they were able to enlist the help of groups of unidentified travelers , whose assistance enabled the Security Forces to put a stop to many gang - related crimes , including the Skaak Tippers and the Maulers . In 4 ABY , a coalition of remaining Naboo loyalists and the Gungan Grand Army were able to openly defy the Empire . This action may have succeeded in freeing the planet from Imperial forces , just as the resistance had freed it from the Trade Federation over three decades earlier . Naboo joined the New Republic , being represented with a Senator once again . Organization . The Royal Naboo Security Forces was made up of volunteers and professionals , and was split into a number of factions : Enlisted ranks . During the Galactic Civil War , the Royal Naboo Security Forces were known to use at least seven distinctive ranks following the Battle of Yavin in 0 BBY . Behind the scenes . The Royal Naboo Security Forces first appeared in 1999 with the release of and its tie - ins . The first hint that the Royal Naboo Security Forces possessed an aquatic fleet was in the video game " " , which included a Swamp Speeder as an unlockable . The aquatic fleet was later completely unveiled in the game " " . The Security Forces appeared in LEGO form in the humorous retelling of the Prequel trilogy , the 2005 video game " " and the game ' s 2007 .