The party was founded in 2001 by the Kaczyński twins , Lech and Jarosław as centrist and Christian democratic party . It was formed from part of the Solidarity Electoral Action ( AWS ) , with the Christian democratic Centre Agreement forming the new party 's core . The party won the 2005 election , while Lech Kaczyński won the presidency . Law and Justice formed coalition with far-right ( now moderate right ) League of Polish Families and populist Self-Defence of the Republic of Poland . Jarosław served as Prime Minister , before calling elections in 2007 , in which the party came in second to Civic Platform ( PO ) . In these elections PiS lost most of the moderate electorate and took over voters from former coalition members and turned to nationalism and populism . League of Polish Families and Self-Defence of the Republic of Poland had no longer members in parliament . Several leading members , including sitting president Lech Kaczyński , died in a plane crash in 2010
a plane crash in 2010
2010 Polish Air Force Tu-154 crash
Law and Justice