The Primacy, also known as the Sunken Lucrehulk, was a Lucrehulk-class LH-3210 cargo freighter that served as the base of operations for the Bedlam Raiders, a group of marauders on the Outer Rim planet Koboh.
The Primacy dated to the Clone Wars era. Years before 9 BBY, the ship exited hyperspace too close to the Koboh Abyss, which began to pull the ship apart with its strong gravitational forces. In a last-ditch effort for survival, the remaining bridge crew detached the core of the ship, planning for an emergency landing on the planet below. The core ship landed in the Viscid Bog near Rambler's Reach Valley, dominating much of the surrounding landscape. Following the emergency landing, the Gen'Dai warrior Rayvis came across the abandoned core ship, finding within a droid army. He believed that the many battle droids in the hangar could be used to find his master, Dagan Gera, a fallen Jedi who had bested Rayvis in combat, leaving the Gen'Dai under an oath of service. The lieutenant Yupah assisted Rayvis in evaluating the army they had uncovered.
Rayvis subsequently reprogrammed the droid army to serve him. The armament of droids included B1-series battle droids, B2-series super battle droids, BX-series droid commandos, IG-100 MagnaGuards, and droidekas. The Bedlam Raiders further modified the programming of these droids to compensate for decreased munitions supply after the time the Lucrehulk spent in the swamp. Some B1 battle droids, for instance, were equipped with makeshift batons for melee fighting, which required reconfiguration of their tactical programming. One droideka, known as E3-VE3 was custom-modified with enhanced offensive capabilities and heightened belligerence algorithms. E3-VE3 was, however, reprogrammed once more, overriding the original loyalty and logic protocols that made the droid loyal to Rayvis. The core ship also held AAT battle tanks, multi-troop transports, HMP droid gunships, and vulture droids.
When Rayvis eventually forged the Bedlam Raiders from disparate gangs around Koboh, he invited them to live on the Primacy. Some raiders saw its potential at once, whereas others were apprehensive about the stability of such a large structure in the bog. Nevertheless, the raiders modified the ship's superstructure to fashion crude villages of yurts within the ship as their living quarters. Other modifications to the ship included the creation of a makeshift dock on the lower exterior of the ship to facilitate the movement of goods in and out of their base, the restoration of the power generators (which were disabled during the ship's landing), and the use of dismembered B1 battle droids as decorations.
In 9 BBY, after Dagan Gera was recovered from his stasis in a bacta tank, the Bedlam Raiders kidnapped ZN-A4, a droid dating from Gera's time, to see if she had any information about navigating the Koboh Abyss to reach the hidden planet Tanalorr beyond. This action drew the attention of Jedi Knight Cal Kestis and his gunslinging partner Bode Akuna. The two men infiltrated the Primacy, killing Bedlam Raiders and deactivating droids as they made their way to the ship's forward control tower, where ZN-A4 was kept. There, Kestis and Akuna fought Gera before the fallen Jedi fled. Kestis, Akuna, and ZN-A4 then took two escape pods from the control tower to exit the core ship.
- The Art of Star Wars Jedi: Survivor