FILE - In this Tuesday, May 12, 2020 file photo, Poland's main ruling party leader Jaroslaw Kaczynski wears a mask for protection against the coronavirus in parliament in Warsaw, Poland, during work on new legislation that is to ensure the health and safety of the postponed presidential election to be held this summer. Poland’s governing right-wing coalition lost its slim majority in parliament Friday June 25, 2021, after three lawmakers left it, criticizing government policies — mainly on phasing out coal. (AP Photo/Czarek Sokolowski, File)

WARSAW, Poland (AP) — Poland’s governing right-wing coalition lost its slim majority in parliament on Friday after three lawmakers left it amid criticism over the government's decision to phase out coal as well as the country's pandemic recovery plan.

But the move is not expected to bring down Prime Minister Mateusz Morawiecki's government — in which the Law and Justice party is the strongest partner — as it can count on support from some small aligned or opposition parties in crucial votes.

A spokeswoman for Law and Justice, Anita Czerwinska, said recent votes in parliament in which opposition motions against cabinet members were rejected showed that the government has sufficient backing among lawmakers.

“We do not have a formal majority, but what really matters is how lawmakers vote,” Czerwinska said.

The coalition of the Law and Justice party and two junior partners now holds 229 out of 460 seats in parliament's lower chamber. It came to power in 2015 and also won 2019 elections, on social and conservative agenda. The government is at odds with the European Union in many fields and insists on independence of its 27 members in decision making.

Jan Grabiec, a spokesman for the main opposition Civic Platform party, said it was a “symbolic moment” when the government lost a steady majority that it held for six years.

“The government will encounter more and more problems trying to secure a majority for its laws, especially if they will be violating constitutional standards or the principles of the rule of law,” Grabiec said.

Civic Platform lawmaker Cezary Tomczyk said the party will start preparing for early elections because the “erosion and downfall of this power is taking place before our eyes.”

The departing lawmakers, Zbigniew Girzynski, Małgorzata Janowska and Arkadiusz Czartoryski, said they were frustrated over the government’s decision to phase out coal despite an election campaign pledge not to do so. Coal, which has a heavy environmental imprint, accounts for around 65% of Poland’s energy.

Girzynski said the country's post-pandemic economic recovery plan was piling all the financial burden on small businesses, as state corporations stood to benefit.

“From what I know, this sense of departure from ideals has gripped many people in Law and Justice. We encourage them to join us,” Girzynski said.

Until recently, the coalition that is on a collision course with the European Union on a number of issues from the rule of law and judicial independence to climate agenda, was able to push all its decisions through the lower house and secure backing in the Senate. But its force started to degrade recently amid a power struggle and criticism over its defiance toward the EU that has weakened Poland's international standing.

Opinion polls show Law and Justice, led by Deputy Prime Minister Jaroslaw Kaczynski, still enjoys the strongest backing, mainly due to its generous bonuses to large families and pensioners and its support for traditional, national values in the predominantly Catholic nation. But it would not win a parliament majority if a snap election was held now, polls suggest.

In 2019 elections, the coalition lost its majority in the Senate where it has 49 of the total of 100 seats. The next elections are scheduled in 2023.