Cog Hive Seven was a space station prison in the Tharin sector of the Outer Rim that was used as a gladiatorial death match gambling operation by its owners in the waning years of the Galactic Republic.
The space station, which had a fluid architecture capable of highly complex levels of reconfiguration, was constructed around the year 38 BBY based on an algorithm written by Dakarai Blirr and funded by the InterGalactic Banking Clan. Dakarai's sister Sadiki became Warden of Cog Hive Seven after its rushed completion. The Blirr siblings would win millions of credits on every twice-daily death match, and their algorithm had a 100% success rate, which brought them into conflict with the Galactic Gaming Commission.
The extremely reclusive weapons manufacturer and dealer Iram Radique used Cog Hive Seven as his base of operations under the nose of Warden Blirr. Dark Lord of the Sith Darth Sidious had masterminded an assassination plot against his own dark master which involved the prison, and Sidious tasked his apprentice Darth Maul with infiltrating the prison and the structured criminal empire operating within it. While imprisoned in Cog Hive Seven with the assumed under-cover name "Jagganath", Maul participated in four of the prison's ongoing gladiatorial death matches of inmates against the inmates.