Prime Minister Tadeusz Mazowiecki, who led East Europe's first postwar non-communist government, formally resigned Friday, 15 months after taking office and three weeks after losing the presidency to Lech Walesa.

The parliament voted to accept the resignation of Mazowiecki, who said the change in leadership shows Poland is well on the road to democracy.He outlined the government's accomplishments since September 1989, including free elections and an end to hyperinflation.

"It shows how far Poland has traveled in the last 15 months on the road from a totalitarian state to a democratic country," he said.

After speeches by leaders of the majority political parties, the Sejm, or lower house or parliament, voted 224-16 to accept the resignation of Mazowiecki and his government. There were 122 abstentions.