Over eight years, nationalist PiS said its goal has been to rid Poland of the vestiges of its communist past.