Event
Contingency
The Contingency, also known as Palpatine's contingency plan, was a secret plan…

With the Force as my guide, death would not be the final word in my story. But my fall would signal a necessary end to the Galactic Empire. If the vast and powerful forces I had gathered could not perform their sworn duty and protect their own Emperor, they did not deserve to lay claim to this galaxy in my absence. For their failures, I would see them burn. And the galaxy along with them. […] With the Empire erased from existence, something new could rise in its place. And from beyond the grave, I would control its every move…
The Contingency, also known as Palpatine's contingency plan, was a secret plan devised by Galactic Emperor Darth Sidious to destroy his Galactic Empire in the rare event of his death, believing that the Empire should not outlive him due to its inability to defend him and did not deserve to continue in his absence. However, he also simultaneously planned the creation of a Sith Empire from the Unknown Regions. The task of putting the Contingency into effect was given to Gallius Rax, a protégé of the Emperor and was carried out accordingly. The Contingency called for the abandonment of the Empire, and for its weak elements to be culled and punished it for failing to protect him, intending for only the most ruthless to survive the coming implosion. Ultimately, the Contingency's true purpose was for a new Sith Empire ruled by a revived Darth Sidious to reclaim the galaxy.
After the Emperor's death at the Battle of Endor, the Contingency was activated with Operation: Cinder across the galaxy in the wake of the Alliance to Restore the Republic victory, scouring both loyal and rebel worlds across the galaxy, such as Naboo and Vardos, which was ordered via Messenger droids. Gallius Rax also arranged for the deaths of several Imperial Military commanders, and allowed the opposing New Republic to win a succession of victories against the Empire, with Jakku intended to be destroyed during a great battle between the Empire and its adversaries; namely, the New Republic, the galactic government established by the Alliance.
Rising to become the self-appointed Counselor to the Empire, Rax was able to unite the Empire under his command despite challenges from unruly Imperial warlords. He brought the Empire to Jakku, where he intended to blow up the planet during the battle between Imperial and Republic forces, effectively crippling both sides. However, he was prevented from fulfilling the final stage of the plan by Grand Admiral Rae Sloane, who fatally shot Rax during the Battle of Jakku. The mortally wounded Rax urged Sloane to flee to the Unknown Regions and regroup with the others, telling her that she now served the Contingency in his place.
Sloane took charge of the Contingency from the dying Rax and departed for the Unknown Regions aboard the Imperialis alongside Brendol Hux, his son Armitage Hux, and their child soldiers. They secretly regrouped with others aboard the Eclipse, creating a secret foothold which lead to the emergent of the First Order as an offshoot of the Contingency. Unknown to all, Sidious ensured his return from death via a cloned body from the hidden planet of Exegol; where his spirit escaped to his secret followers, the Sith Eternal, while they finished constructing a massive fleet he called the Final Order as they waited to reveal the final phase to achieve the Contingency's true hidden purpose, the perpetual reign of a reborn Sith Empire.
Origins

My boy. My precious boy. Are you ready to be the Outcast? Are you prepared to become the Contingency should it come to that? There will be others you must call to your side.
The Contingency was a secret plan devised by Emperor Palpatine, whose true identity was that of the Dark Lord of the Sith Darth Sidious, to ensure that the Galactic Empire did not outlive him should he die prematurely, while also simultaneously ensuring the Empire's rebirth among the resources and personnel that would manage to survive the Contingency. Sidious intended for only the most ruthless of the Empire to survive his purge. In secret, Emperor Palpatine had been sending Imperial scouts into the Unknown Regions of the galaxy over the course of many decades. During this time, he had been investing in expensive resources used to seed the Unknown Regions with storehouses, shipyards, and laboratories, a fact known only to Emperor Palpatine and an elect assembled by him.
The first part of the Contingency was the Jakku Observatory, one of many Observatories established by Palpatine across the galaxy. The Jakku Observatory was an underground storehouse and repository in the Plaintive Hand plateau which was built over a borehole that led directly to Jakku's core. In 30 BBY, while still Supreme Chancellor of the Galactic Republic, Palpatine and his Adviser Yupe Tashu had initiated the construction of the Observatory and the borehole. Palpatine used an army of droids to build the facility. The Contingency involved pouring Sith relics and artifacts down the borehole to detonate Jakku's core, triggering a cataclysm that would destroy the planet and the orbiting and grounded Imperial and enemy forces. Using the analogy of a Shah-tezh game, Palpatine viewed this as a means of destroying both the Empire and his enemies.
The second part of the Contingency was Gallius Rax, a human native of Jakku whom Palpatine had taken on as a protégé after Rax stumbled upon the construction site. Palpatine tasked Rax with guarding the site during his absence, during which Palpatine engineered his rise to power. After Rax had proven his service, Palpatine rewarded him by inducting him into Imperial service once the Empire was fully formed. Palpatine arranged for him to become a Commander in the Naval Intelligence Agency before rising to the rank of Fleet Admiral. In the event of his own death, Palpatine intended for Rax to carry out the Contingency, referring to it as the latter's destiny. In order to transmit posthumous orders, Palpatine had special sentinel droids built to communicate with Rax and other "worthy" Imperial officers.
The third part of the Contingency involved Rax and Palpatine's elect—a select number of "worthy" Imperial officers and personnel, which Rax expanded upon—fleeing into the Unknown Regions, which were notorious for being near impossible to navigate, using secret hyperspace coordinates. Using information partially gleaned from Grand Admiral Thrawn, a native of the Unknown Regions, ancient computers housed inside the Jakku Observatory plotted routes through the Unknown Regions for years, eventually charting a safe passage. Once the safe route had been mapped, Rax arranged for the Emperor's Super Star Destroyer, the Eclipse, to travel in advance to the Unknown Regions. There, Rax planned to form a New Empire.
Activation
Operation: Cinder is to begin at once. Resistance. Rebellion. Defiance. These are concepts that cannot be allowed to persist. You are but one of many tools by which these ideas shall be burned away.
After Emperor Palpatine perished at the Battle of Endor in 4 ABY, the Contingency was activated and began with Messenger droids delivering the Emperor's final command: Operation: Cinder, which involved the use of climate disruption arrays to scour his homeworld Naboo and many other planets, both those loyal to the Empire, such as Vardos, and those that were rebellious, such as Mon Cala. Fleet Admiral Rax received a Sentinel droid of his own informing him of the Emperor's death and ordering him to begin the Contingency. In the time following the events on Endor, Admiral Rax engineered the deaths of numerous Imperial commanders by leaking information about Imperial fleet movements and the emergency summit on Akiva to the New Republic, the government established by the Rebel Alliance after the Battle of Endor.
Admiral Rax kept the Contingency a secret from even his own subordinates, including Grand Admiral Rae Sloane, who disliked his secretive style of leadership, and his Shadow Council, an advisory council assembled by Rax consisting of senior Imperial officials and commanders. During the activation of the Contingency, Grand Moff Adelhard proved to be a challenge for Rax, pushing for an independent Anoat sector and against the will of the Shadow Council. In order to eliminate Adelhard, the Shadow Council ordered Acolyte of the Beyond Reyna Oskure to kill him, but the assassination attempt failed. After Sloane was presumed lost or captured during an attack on the New Republic capital of Chandrila, Rax assumed leadership of the united Empire as Counselor to the Empire. He then ordered the Empire to assemble at Jakku for a final showdown with the New Republic. Unknown to the Shadow Council, Rax was planning to kill them, with the exception of the former Commandant Brendol Hux, whom he regarded as essential to the Contingency and the Empire's future.

On Jakku, Counselor Rax put the Contingency into motion by setting the stage for a massive battle with the New Republic. Intending to destroy the "Old Empire," Rax had Commandant Hux train local children into a force of soldiers who would become the foundations of the new Empire; Commandant Hux had previously run a secret society of child soldiers at his academy. A massive battle began to rage between Imperial and New Republic forces, with an Emperor's Royal Guard fighting as part of the Imperial Military before falling in battle. Seeking to cause chaos, Adelhard's fleet arrived over Jakku and attacked both New Republic and Imperial forces with help from the Spice Runners of Kijimi. Despite this new factor, Adelhard was defeated by Luke Skywalker and Rynn Zenat, as the Spice Runners turned on the former Imperial – allowing the attempted Contingency to continue.
Meanwhile, Rax and Yupe Tashu poured Sith relics down the planet's core in order to trigger a cataclysm. Rax then killed Tashu as part of the Contingency, pushing him into the borehole. Before Rax could escape offworld with Hux, his son Armitage, and their child soldiers aboard a replica of Palpatine's yacht, the Imperialis, Rax was killed by a vengeful Grand Admiral Sloane with the help of the New Republic operatives Norra Wexley and Brentin Lore Wexley.
In his last dying moments, Counselor Rax told Sloane that she now served the Contingency in his place and told her to accompany the others aboard the Imperialis to the Unknown Regions, where the Emperor's flagship Eclipse was waiting in uncharted space. Despite Sloane foiling Rax's plot, the attrition afflicted by the Contingency helped bring about the Empire's defeat during the Battle of Jakku. Following the Battle of Jakku, Grand Vizier Mas Amedda formally surrendered the Empire to the New Republic and signed the Galactic Concordance in 5 ABY. The Galactic Concordance collapsed the Empire, forcing its remains within defined boundaries in the Core, Colonies, and Inner Rim, while on Coruscant, the capital world of the Empire, a provisional government overseen by the Republic was established.
Aftermath

My Sith Eternal would provide me the tools I needed. It was they who constructed a fully operational armada on Exegol at my command. It was they who trained their offspring to operate those vessels with deadly efficiency. For a generation, they toiled and trained, and now their efforts shall be put to the test as the Final Order prepares to arise!
Several Imperial remnants rejected the peace treaty signed between the Empire and the Republic and continued to hold out in the months following the end of the Galactic Civil War, although they were few in number as a result of the Emperor's Contingency. Other Imperial forces fled into the Unknown Regions using the secret hyperspace coordinates. Chafing under New Republic restrictions and war reparations, the "Old Empire" eventually withered away into a remnant of hardliners locked into a Cold War with the Republic. Other Imperial sympathizers were part of the Republic itself, some of whom joined with the Centrists in the Galactic Senate.
Aboard the replica Imperialis, which was piloted by a Sentinel droid, Sloane, Brendol and Armitage Hux, and their child soldiers eventually reached the Eclipse in the Unknown Regions, where the Emperor's elect awaited Rax. There, Sloane saw an opportunity to rebuild the Empire, deeming it their "first order." This movement birthed the First Order, a offshoot of the Contingency which sought to reclaim the lost Imperial cause and glory. During their military buildup, the First Order conquered and colonized large swaths of the Unknown Regions. The First Order would later be joined by Imperial secessionists from within the New Republic as well as Imperial fleets whom vanished from Imperial Space. The First Order was eventually taken over by Supreme Leader Snoke, a failed strandcast clone of Palpatine genetically created by the Sith Lord and his Sith Eternal cult prior to his demise at the Battle of Endor, who was originally discarded as a potential vessel for his creator's spirit, but was instead utilized as the Sith's proxy in power over the Forces over the contingency. Naturally force-sensitive and particularly strong with the dark side, Snoke, regardless of not being a Sith, he possessed the knowledge and power to lead the First Order, which allowed Sidious to indirectly ensure the First Order was his own to control and gather the Forces which would form the hermit faction into a military capable of opposing the New Republic.
The dark side adept's rise to power was seen as unexpected by the last of the old Imperial leadership. Years later, as the First Order destroyed the New Republic, Snoke reflected on the Contingency, recalling how Emperor Palpatine had arranged for various assets and materials to be sent to the Unknown Regions beforehand. Ultimately, Snoke was a proxy Palpatine was manipulating to spread his influence across the galaxy through less direct means, much to his underling's and the rest of the First Order's obliviousness.
Though Snoke initially maintained an iron grip on the fascistic military junta, his reign was cut short during the conflict between the First Order and the Resistance spearheaded by General Leia Organa. Snoke had, in reality, been genetically engineered by members of the Sith Eternal cult, a zealous collection of dark side loyalists which sought to revive the Sith religion and establish a galaxy-wide authoritarian regime once again. Deep within the reaches of the Unknown Regions existed Exegol, the hidden world of the Sith, which housed the reborn Darth Sidious as he pulled the strings of Snoke in order to seduce the scion of the Skywalker bloodline, the young Jedi Ben Solo. Sidious's plans reduced the First Order to a mere pretender to the throne, one which he would guide through Snoke, that would rule until his new Sith Empire was ready to assert itself.
As Snoke's apprentice, Ben Solo took the name of Kylo Ren, Master of the Knights of Ren and champion of the First Order; a dark warrior who possessed raw strength in the Force. Ren tolerated years of abuse under Snoke's wing, eventually culminating in the assassination of Snoke at the hands of the dark knight and his subsequent usurpation of Snoke's position of Supreme Leader. Believing he had at last freed himself from harsh confines of apprenticeship, Ren had, in actuality, completed the final test crafted by Sidious' Sith Eternal by acting as a true Sith and killing his own master in the name of obtaining greater power. It was now clear that Kylo Ren had established himself as worthy of inheriting the mantle of Galactic Emperor, with Sidious eager to harness the power of his new Imperial heir.
Sources
Adapted from the original article, under CC BY-SA 3.0.




