The 2015 and 2019 elections were won by the conservative Law and Justice Party (PiS), resulting in increased friction between Poland and the EU. In December 2017, Mateusz Morawiecki was sworn in as the new Prime Minister, succeeding Beata Szydlo, in office since 2015. They both represented ruling Law and Justice party, led by party chairman Jarosław Kaczyński. President Andrzej Duda, supported by Law and Justice party, was narrowly re-elected in the 2020 presidential election.