 Before restoring the deposed judiciary, Gillani and his leftist alliance leveled accusations against Musharraf of weakening Pakistan's unity, violating its constitution and creating an economic impasse.Gillani's strategy succeeded when Pervez Musharraf announced his resignation in an address to the nation, ending his nine-year-long reign on 18August 2008.Prime Minister Gillani headed a collective government with the winning parties from each of the four provinces.