One of the umbrums Siege of the Crystal Empire.
Umbrum army attacked the Crystal Empire, terrorizing Crystal Ponies and burning their homes for fun. Unknowingly, Rabia and the Umbrum's actions were witnessed by Queen Chrysalis, who initially wanted to rule the Empire but decided against it upon seeing the Umbrum. Eventually, Rabia and the Umbrum were banished to another realm.
Fiendship is Magic Issue 1
In Sombra's comic backstory, it is shown that Rabia disguised the Umbrum King Sombra as a pony so he could go through the prison door and release them. When Sombra did not want to turn evil and ran, Rabia communicated with him through the Crystal Heart and he embraced his dark side, although he instead decided to rule the Crystal Empire instead.
Siege of the Crystal Empire
It is shown that after Sombra was banished, Radiant Hope found Rabia and the Umbrum, and when she entered their prison, they made her think they were good, and were simply misunderstood by ponies. This led her to form a team of past villains (The Flim Flam Brothers, Iron Will, Lightning Dust and Chrysalis and her Changelings) to distract the Empire's defenders while she resurrected Sombra so he could release the Umbrum. However, when Hope brought Cadance to the Umbrum prison to show her that they weren't evil, Cadance's light revealed their true selves. The Umbrum attacked Hope and Cadance, but they escaped.
Eventually, Sombra released the Umbrum, and Rabia put Twilight and Cadance on trial, and demanded to know where the rebel ponies were, threatening Shining Armor to be turned into a statue if not told. When Cadance told her they were on Canterine, Rabia had Sombra turn Shining Armor to stone anyway. Twilight convinced them to take them to the dais where the Crystal Heart was before turning them to stone so the Crystal Ponies could witness their defeat. Then the rebels attacked, the other Mane 5 among them, but Rabia defeated Rainbow Dash and other pegasi with a flyswatter and told Sombra to destroy the Crystal Heart. However, after hearing of how Hope chose a different destiny than the one the Crystal Heart showed her, and chose him over becoming a princess, Sombra switched sides and used the Crystal Heart to banish the Umbrum, including Rabia, back to their prison.