The leader of Poland's ruling right-wing Law and Justice party, Jaroslaw Kaczynski, center, swears in as a member of the parliament during a gala inauguration of a new four-year term of the national parliament in Warsaw, Poland, Tuesday, Nov. 12, 2019.(AP Photo)

The leader of Poland's ruling right-wing Law and Justice party, Jaroslaw Kaczynski, center, swears in as a member of the parliament during a gala inauguration of a new four-year term of the national parliament in Warsaw, Poland, Tuesday, Nov. 12, 2019.(AP Photo)

WARSAW, Poland (AP) — Poland’s opposition parties elected their candidate as speaker of the Senate on Tuesday, a small victory that allows them to check the power of the populist right-wing ruling party.

Senator Tomasz Grodzki was chosen speaker in a 51-48 vote with one abstention during the first sitting of the new parliament that was elected in October. Grodzki hailed the move as a victory for democracy. Until Tuesday’s vote, it was not certain that the opposition parties would manage to take control of the Senate.

For the past four years, the ruling Law and Justice party has put through laws giving it much greater power over the judicial system. The European Union has often expressed its concerns that the party was eroding judicial independence, warning that rule of law in the young democracy was on the line.

In many cases, with control of both houses of parliament, the party would rush laws through without allowing opposition lawmakers any say.

Now, the Senate will be able to slow down and influence, though not block, the passage of laws. Perhaps more importantly, the Senate has the power to appoint the heads of some key state bodies and the opposition — if it maintains its majority — will be able to block the nominations of some ruling party loyalists.

Law and Justice has tried to win over some opposition members in Senate, but has so far failed.

Earlier Tuesday, the lower house of parliament, also named its speaker — Elzbieta Witek of Law and Justice.

President Andrzej Duda opened the first day of parliament’s four-year term with a speech that paid homage to Poland’s tradition of being a land of tolerance and a place where many ethnic and religious groups lived for centuries in relative harmony. He also paid tribute to Roman Catholicism and strong family traditions that he credited with preserving the social fabric over a difficult history.

The parliamentary election on Oct. 13 gave a second term Law and Justice party, which won nearly 44% of the votes, the highest percentage of any party since Poland returned to democracy 30 years ago.

But the election also created some complications for the party and its 70-year-old leader, Jaroslaw Kaczynski, as it continues its plans to reshape the nation.

Aside from the loss of the Senate, the ruling party must now contend with the fact that a far-right party, Confederation, got almost 7% of the vote, winning 11 seats in the assembly.

Law and Justice had sought to prevent any party arising in parliament to its right. That strategy had led Kaczynski and other leaders to try to appeal to the far right, and they even marched with them on Independence Day in 2018.

ADVERTISEMENT

In another change, a left-wing alliance won 49 seats, after a hiatus of four years, after getting nearly 13% of the vote.