President Lech Kaczynski and his twin brother , Prime Minister Jaroslaw Kaczynski , have vowed to root out those in public life with close ties to the communist apparatus .