Zagyg was born Zagig Yragerne in Hardby in 277 CY. The son of Despotrix Eileme Yragerne, Zagyg is a descendant of Ganz Yragerne, second Lord Mayor of the Free City of Greyhawk, and Maro Yragerne, a former Despotrix of Hardby. Sometime around 310 CY, Zagyg made his way to Greyhawk, where he bribed the members of the city’s Directing Oligarchy for a seat on their board, then somehow convinced them to elect him Lord Mayor of the city.
In 339 CY, Zagig’s mother died. As her sole heir, Zagig became the first (and only) Despot of Hardby, as well as inheriting the title of Landgraf of the Selintan, an old Great Kingdom provincial title applied to the ruler of the area now known as the Domain of Greyhawk. In 351, Zagig renounced the title of Despot, leaving the Gynarchy of Hardby to choose another Despotrix to rule the city.
Regarded by many as Greyhawk’s greatest Lord Mayor and citizen, Zagig is in many ways responsible for making Greyhawk what it is today. He reformed Greyhawk’s legal code, established a currency for the city, founded the Greyhawk Guild of Wizardry, brought scholars to the city to found colleges, oversaw the creation of the mining towns of Diamond Lake and Steaming Springs in the Cairn Hills, and organized the city’s first Desportium of Magick. He also oversaw the construction of the city’s sewers, the Free City Arena, and Castle Greyhawk. It was Zagig who named Greyhawk the “Gem of the Flanaess,” in a speech voicing his wish that Greyhawk become the “keystone of civilization.”
However, for all the good Zagig brought to the city, he also brought much peril. Always eccentric, Zagig’s sanity began to gradually decline after 370 CY, and many of Greyhawk’s citizens lived in fear of his outbursts of humor and rage. In 395, Zagig voiced his plans to enclose Greyhawk’s New City in walls made of elemental forces, such as fire and water. Though most citizens felt this would endanger their lives, Zagig seemed not to care. In the minutes of a typical meeting of the city Directors in Growfest, 400 CY, it is noted that Zagig was attended by a black dragon he had brought from the Mistmarsh, several homonculi, and a flesh golem clothed as the Overking of the Great Kingdom. It was at this time that one of the oligarchs, asked what possibly the affluent city could have lacked, said in a guarded moment: “sanity.”
Then on Coldeven 8, 421 CY, Zagig failed to show up for a meeting of the Directing Oligarchy. Though he had given no sign of his intentions, Zagig was not seen by mortals on Oerth again. Every year on this anniversary, the Lord Mayor and Directing Oligarchy share a meal of bread and water, in commemoration of the return to normalcy occasioned by Zagig’s disappearance.
Sometime during his reign as mayor, Zagig is said to have used powerful magic to capture and imprison the demon prince Fraz-Urb’luu, who only recently escaped his confinement. It is rumored that Zagig collaborated in this scheme with his fellow archmage, Iggwilv, who would later on use what she had learned to imprison her own demon lord, Graz’zt, and conquer Perrenland.
In 505 CY, Zagyg succeeded in capturing nine demigods of opposing alignments and imprisoning them beneath Castle Greyhawk. It was later learned that the capture of these deities was required as part of Zagyg’s apotheosis. Those known to have been captured include Iuz (oddly enough, the son of Iggwilv and Graz’zt), Wastri, Merikka and Rudd. Olidammara attempted to free Rudd, but was himself captured and transformed for a time into a small, carapaced animal. Most of Zagyg’s captives did manage to eventually escape (including Iuz, who was freed in 570 CY by Lord Robilar), although Zuoken is rumored to have been one of the original captives and may remain a prisoner.
By the time of Iuz’s escape, it was revealed by Mordenkainen that Zagig Yragerne was alive and well, and in fact, had become a demigod in the service of Boccob, god of magic. Zagig is now known as “Zagyg”, a variant spelling of his name which he sometimes used when signing documents as Lord Mayor. A number of members of the Circle of Eight began honoring Zagyg, most likely for his magical prowess (it is said that no greater mortal mage has ever lived, except perhaps Vecna). The Mad Arch-Mage’s cult has since that time achieved a minor following, though it has yet to gain any strength in Greyhawk City.