Solidarity Electoral Action tensions: IRI initiated a post-election program that emphasized media and communications training for Prime Minister Jerzy Buzek's chancellory and cabinet. Reforms relating to domestic affairs, the entry to NATO in 1999 and the accession process to the European Union led to conflicts within the coalition, with many members moving to the more liberal Civic Platform, the right-wing Law and Justice party, or the Movement for Reconstruction of Poland. By 2001 the number of parties in the alliance was reduced to three, including RS AWS. AWS formed a minority government under Jerzy Buzek, and the coalition was renamed AWSP ("Akcja Wyborcza
Elections in Poland elections. SLD leader Aleksander Kwaśniewski defeated Wałęsa by a narrow margin—51.7% to 48.3%. In 1997 parliamentary elections two parties with roots in the Solidarity movement – Solidarity Electoral Action (AWS) and the Freedom Union (UW) – won 261 of the 460 seats in the Sejm and formed a coalition government. Jerzy Buzek of the AWS became Prime Minister. The AWS and the Democratic Left Allianc (SLD) held the majority of the seats in the Sejm. Marian Krzaklewski was the leader of the AWS, and Leszek Miller led the SLD. In June 2000, UW withdrew from the governing coalition, leaving AWS