The Empire of Xymor was invaded by the Machines. The machines wanted the magmium to use for their larger war machines. They were waging a war against the Brain Eaters. The Duergar leaders decided to align with the Machines and began providing them magmium. But some noticed that once the Machines arrived, their goddess, Muerath, began to fade. Her presence went further away and the powerful Duergar priests could no longer call upon her powers.
Some Duergar began to rebel against working for the machines, but the monarchy did not listen to the workers and there was a great civil war. Many Duergar died, but the Machines and their allies won.