Long before the Old Republic was overthrown, the Jedi Knights reigned as the protectors of order. However, despite the Jedi Order's practice of self-policing their ranks, it was not unknown for certain Knights to fall prey to the dark side of the Force. One common practice for dealing with fallen Jedi was exile; the fallen Jedi was banished to an uninhabited world. Such was the case with the Jedi known only as "Allya".
Allya was exiled to Dathomir, which had served as a prison in function for several generations. When she arrived, Allya found that prisoners, once great warriors and hunters, had become the hunted, providing an easy meal for the giant beasts that roamed the planet.
Using her innate talent with the Force, Allya tamed the creatures loosely classified as rancors. Those prisoners that followed her lead were guaranteed safety. Those who rebelled against her rule became fodder for the rancors. Simply put, most of the prisoners fell into line, and Allya had a throng of willing slaves at her disposal.
Over the following years, Allya took many of her slaves as husbands. Though she selected her husbands carefully, she allowed the slave to decide for themselves whether or not to marry her. She outlined her requirements for marriage carefully. Those that produced daughters would be lavished with gifts and power over the other slaves. Those that yielded sons were served to the rancors. It was a risky proposition, but Allya made certain that the reward was well worth the risk.
Allya's sons were raised by the other slaves, to become slaves themselves. In turn, she raised each of her daughters herself, teaching each one to feel the Force around them, to control it and to obey it. It was not until her granddaughters were born that she saw the error of her ways. Using her great influence over her children, Allya spent the rest of her days instructing her daughters in the ways of the light side.
On her deathbed, Allya admonished her daughters to follow the Book of Law, a tome of moral and ethical regulations Allya devised to make certain her offspring would never fall as she did. Allya's final entry into the Book of Law was spoken in her last breath: "Never concede to evil."