After the Velvet Revolution and the subsequent fall of the Communist regime, Gašparovič was chosen by the newly elected democratic president Václav Havel to become the country's federal Prosecutor-General.