Mid Rim The Mid Rim was a region of the galaxy located between the Expansion Region and the Outer Rim Territories . The moon Wasskah , the planet s Aleen , Bothawui , Coyerti , Crul , Dinzo , Gan Moradir , Haidoral Prime , Ithor , Kashyyyk , Malastare , Naator , Naboo , NaJedha , Nakadia , Phorsa Gedd , Secundus Ando , Shu - Torun , Takodana , and Trandosha were all located within the Mid Rim . History . Early history . A thousand years before the Cold war , a battle was fought on the Mid Rim world of Takodana between the ancient Jedi and Sith . Maz Kanata ' s castle was later built on the site of the former battlefield . Malastare Narrows . At some point before the Clone Wars , the Corporate Alliance led by the Harch Admiral Trench blockade d the Mid Rim world of Malastare but was put to an end by a Galactic Republic force consisting of Wullf Yularen and a Jedi - led taskforce which resulted in heavy losses for both sides as well as the Harch commander ' s first presumed death . Naboo Crisis . In 32 BBY , the Trade Federation and the Republic were embroiled in a dispute over the taxation of trade routes to outlying systems including the Mid Rim world of Naboo . As a result , the Trade Federation invaded and occupied the planet . The Federation was eventually expelled from the planet by a coalition of the human Naboo , the indigenous Gungan s , and the Jedi . The Clone Wars . The Mid Rim saw extensive fighting between the Republic and the Confederacy of Independent Systems during the Clone Wars . After General Grievous ambushed Republic Navy forces above the planet Falleen , Jedi General Obi - Wan Kenobi advised Anakin Skywalker to take his fleet out of Bothawui to regroup . Skywalker ' s fleet instead clashed with Grievous ' fleet above Bothawui in 22 BBY . During the battle , R2 - D2 was lost but later rescued . Later , Senator Padmé Amidala , Junior Representative Jar Jar Binks , the Jedi , and clone trooper s discovered that the Separatist scientist Nuvo Vindi was operating a biological weapons laboratory on Naboo . Following a lengthy struggle , they managed to neutralize Dr Vindi ' s Blue Shadow Virus and prevent it from escaping into Naboo ' s atmosphere . In 21 BBY , Malastare became the site of fighting between the Republic and the Separatists due to its fuel supplies . During the battle , the Jedi managed to sign a treaty with the Dug Council after agreeing to destroy an ancient monster called the Zillo Beast . The Jedi and clone trooper s managed to stun the beast with cannon s and smuggled it back to Coruscant for research . In 20 BBY , the Jedi Padawan Ahsoka Tano was kidnapped by Trandoshan bounty hunter s and transported to the Trandosha n moon of Wasskah . There , she teamed up with the former Jedi youngling s Kalifa , O - Mer , and Jinx to survive . The Jedi then joined forces with the Wookiee Chewbacca to fight back against the Trandoshans . They were rescued by a Wookiee relief force led by General Tarfful . Later that year , the Gungan minister Rish Loo , a Separatist agent , attempted to manipulate Boss Lyonie into helping the Separatist attack the Naboo capital Theed . Loo ' s plot was foiled by Binks , Amidala , and Jedi Knight Skywalker . The Gungans managed to capture Grievous but were forced to release him after the Separatist leader Count Dooku took Skywalker hostage . Later , the Mid Rim planet of Aleen experienced severe earthquakes , which killed many of the native Aleena . The droid s C - 3PO and R2 - D2 took part in a Republic relief mission led by Clone Commander Wolffe . During the course of the mission , C - 3PO and R2 - D2 encountered the underground - dwelling Kintaro and the amphibian being Orphne , who revealed that the earthquakes had been caused by a breach on the surface . After returning to Aleen ' s surface , the two droids helped seal the breach , which ended the earthquake and restored peace to both the underworld and surface . C - 3PO and R2 - D2 then embarked on an unplanned adventure which took them to the planets Patitite Pattuna and Balnab . In 20 BBY , Kenobi , Skywalker , and Mace Windu foiled a plot by Cad Bane and Count Dooku to kidnap Supreme Chancellor Palpatine . In 19 BBY , the planet Ord Mantell was the site of a battle between the former Sith apprentice Darth Maul and his Shadow Collective and Grievous ; which ended in the latter ' s capture . In response , the Republic sent a team of Jedi led by Windu to Ord Mantell to investigate Maul ' s activities . During the Outer Rim Sieges , the Jedi General Quinlan Vos moved his forces to the Mid Rim planet of Boz Pity . Master Yoda commanded Wookiee and Clone forces during the Battle of Kashyyyk . Yoda was forced to flee the Wookiee homeworld of Kashyyyk when Palpatine issued Order 66 . Shortly later , the Republic was transformed into the Galactic Empire and the Separatist leadership was destroyed ; ending the Clone Wars . Imperial Era . During the Imperial Era , the Mid Rim along with much of the galaxy came under the dominion of the Empire . In 14 BBY , the Imperial Vice Admiral Dodd Rancit identified the Mid Rim world of Lantillies as a potential target of Berch Teller ' s rebel cell . On one occasion , HoloNet News reported that the 212th Attack Battalion led by General Kahdah had quelled a Wookiee revolt on Kashyyyk . As a result , civilian travel to the planet was restricted . The xenophobic Empire also enslaved the Wookiees of Kashyyyk ; viewing them as an expendable source of slave labor . Many Wookiees were fitted with inhibitor chips while Kashyyyk was renamed Imperial Territory G5 - 623 . Nevertheless , some Wookiees like Chewbacca and Lohgarra managed to flee offworld and live free lives . In 4 BBY , the Spectres rebel operative Hera Syndulla traveled to the Mid Rim world of Shantipole on behalf of the rebellion to obtain a prototype B - wing starfigher from the Mon Calamari engineer Quarrie . As a result , the rebellion gained access to the B - wing starfighter s . In 3 BBY , Saw Gerrera ' s Partisans assassination of Naboo ' s Imperial governor , Moff Quarsh Panaka . By 0 BBY , Imperial forces had occupied the Mid Rim moon of Jedha , a sacred site which hosted the Temple of the Kyber . The Empire mined Jedha for kyber crystal s , which were used as part of the Death Star ' s superlaser . Grand Moff Wilhuff Tarkin later destroyed Jedha City in order to test the Death Star ' s superlaser . The Rebel Alliance operatives Cassian Andor and Jyn Erso managed to smuggle the Imperial defector Bodhi Rook , who had knowledge on how to destroy the Death Star , offworld . To conceal the Death Star , the Empire told the Imperial Senate that Jedha City had been destroyed in a mining accident . In addition , the Empire ran a penal labor camp on the planet Wobani . Following the destruction of Alderaan , Darth Vader visited the Mid Rim volcanic mining world of Shu - Torun to ensure that the King of Shu - Torun and his people remained loyal to the Empire . Vader defeated a plot by the King and his family to assassin ate him with the help of the assassin droid s 0 - 0 - 0 and BT - 1 . Vader then forced the King ' s youngest daughter Prince ss Trios to become the new Queen of Shu - Torun . Trios helped the Empire to subdue several rebellious ore - duke s during the War on Shu - Torun . During the Galactic Civil War , several Mid Rim worlds and systems including Haidoral Prime , Coyerti , the Chonsetta system , the Redhurne system , and the Elochar sector became battle sites between the Rebel Alliance and the Empire during the Mid Rim Retreat . After months of fighting , Alliance forces became overstretched and Alliance High Command was forced to order a retreat as Imperial forces counter - attacked . Rise of the New Republic . After the Battle of Endor , crowds celebrated the death of Emperor Palpatine in the streets of Naboo ' s capital Theed . Later , the Naboo Queen Sosha Soruna accepted an offer from Princess Leia Organa to join the New Republic , the successor government to the Rebel Alliance . In the days after the events at Endor , Naboo was targeted by , a post - contingency plan to scour several worlds in the event of the Emperor ' s death . General Lando Calrissian saved the planet from being destroyed by several Imperial climate disruption array s . The New Republic also repelled three attempts by Imperial forces to retake the planet . In the months following Endor , Grand Moff Valco Pandion abandoned an Imperial communications station on Malastare . Despite this setback , Imperial remnant forces under Grand General Kenner Loring still controlled the planet . During the Galactic Civil War , Maz Kanata ' s castle on Takodana was regarded as a neutral sanctuary for smuggler s , pirate s , Imperials , and rebels . The smuggler Han Solo and his Wookiee co - pilot Chewbacca later led a campaign to liberate Kashyyyk from Imperial rule . Despite several setbacks and the New Republic ' s hesitance , Solo and Chewie managed to disable Grand Moff Lozen Tolruck ' s inhibitor chips and inspire a Wookiee revolt in 5 ABY with the help of Wookiee exiles , former slaves , the former Imperial loyalty officer Sinjir Rath Velus , the bounty hunter Jas Emari , and the New Republic Special Forces soldier Jom Barell . A New Republic fleet led by Admiral Ackbar then forced the surrender of the remaining Imperial ships above Kashyyyk ; ending the Imperial subjugation of the Wookiees . In the months leading up to the Battle of Jakku , Wookiee and New Republic forces conducted mopping up operations against Imperial holdouts , liberating many Wookiee slaves including Waroo , Chewbacca ' s son . The Mid Rim world of Naboo also became a refuge for many orphans and refugee s . One of these , Mapo , befriended Binks , who had become a street performer . Another Mid Rim world , the agrarian planet Nakadia , became the new capital of the New Republic . A pivotal Galactic Senate re - vote on the motion to send military forces to Jakku took place at the Quarrow Senate house . Cold war . In 34 ABY , Maz Kanata ' s castle on Takodana was attacked by the First Order , a remnant of the Old Empire . The Hosnian Cataclysm was also witnessed by many at Maz Kanata ' s castle .