The bill transfers a variety of powers, including the ability to fire an elected government and appoint military chiefs and judges, from the office of the president to the prime minister. “We have empowered the masses today,” said Prime Minister Yousaf Raza Gilani in his address to the National Assembly after the televised vote. “The impossible you made possible has established the sovereignty of Parliament.”

The bill must now be passed by a two-thirds majority in the Senate, or upper house of Parliament, and be signed by President Asif Ali Zardari to be implemented. Approval by both is expected since the amendment was drafted by a committee that included representatives from all parties in Parliament.

The opposition had criticized Zardari for dragging his feet on relinquishing the powers, which he first promised to do when he was elected in 2008 as the successor to Gen. Pervez Musharraf.

“It is a historic day for us,” said National Assembly Speaker Fehmida Mirza. “It is a celebration for all democratic parties.” The vote was 292-0, with 50 lawmakers absent. “Today, in a true sense, we are giving you a parliamentary form of government,” said Gilani.

The changes mean Zardari will occupy a largely ceremonial post, but since he derives much of his power from his position as co-head of the largest party, he will still wield significant influence over the government.

The leader of the opposition, Nawaz Sharif, has been one of the most vocal figures calling for Zardari to relinquish the powers he inherited from Musharraf. The president’s acquiescence could improve relations between the two and ease up a political system often gridlocked by power struggles between the two main parties.