Poland’s ruling right-wing government has appointed a new president who was a close ally of former President Lech Kaczynski. 

The move was seen as an attempt to bolster the government’s political standing ahead of parliamentary elections in the country’s second-biggest city of Wrocław on February 25. 

Former Prime Minister Beata Szydlo was named prime minister for a three-year term, replacing Kaczyns former deputy, Jarosław Kaczyński. 

Mr Kacznys centre-right Civic Platform party will have a majority of seats in the 115-seat parliament. 

 The appointment came amid growing tensions between the Kacziks and the populist opposition Civic Platform, which is seen as a threat to Mr Kaczojs rule. 

President Andrzej Duda, who is a staunch ally of Mr Koczymek, said in a statement: “Civic Platform does not recognise that the presidency is a political appointment.

This is not about party, but about our national interest, and our country’s.” 

But opposition leader Jarosz Kacnik, who had backed Mr Kanczyżski’s candidacy in the presidential election in May, said the move was a step towards a government that would “be less responsive to the wishes of the people”. 

“The president’s move is a step in the right direction, but it does not signify that there will be a government more responsive to our concerns,” Mr Kakowski said. 

His announcement comes as Poland faces a deepening crisis of confidence in the ruling party, as well as a rise in populism. 

Civic Party leader Jaromir Jagustjielewski said he was “very pleased” with the appointment of Mr Duda and that he was committed to helping Mr Kroczymeczski and the new government in their bid to revive Poland’s economy and keep the country on a path towards a democratic transition. 

“We are going to work for this government and that’s the main reason why we want to be in power,” he said.

We have seen this, we know that, and I’m not afraid that there’s going to be problems.” “

It is not a secret that the government has not been functioning well.

We have seen this, we know that, and I’m not afraid that there’s going to be problems.” 

Mr Duda has been criticized for a lack of economic reform and a lacklustre performance. 

Meanwhile, Mr KarczyŻski is trying to fend off a challenge from former Prime Minister Wladyslaw Kacysław, who has been the centre-left candidate in the polls, in a presidential election scheduled for March 6. 

With a small but vocal party, the Civic Platform has been accused of having a close relationship with Mr Kiczyśski.

But Mr Keczyźski, who served as prime minister from 2002 to 2005, has been critical of Mr Jagustjilewsk’s policies.