 During his multiple terms, the city was awarded as the "cleanest and greenest" component city.Based on the Constitution of the Philippines, Hagedorn was forbidden from running for a third three-year term on January 30, 2001 but after an election recall led by Puerto Princesa's barangay leaders against the incumbent mayor who replaced Hagedorn, Victorino Dennis M. Socrates, the Supreme Court of the Philippines on November 12, 2002 issued a landmark decision enabling Hagedorn to run again as mayor of the city.On September 2005, Hagedorn was appointed by President Gloria Macapagal-Arroyo as the "anti-jueteng czar" to handle the government's program against the proliferation of the illegal two-numbers gambling.