In the case of death in office or resignation, submitted to the President of the Constitutional Court and communicated to the Speaker of the parliament, or in cases when the Constitutional Court decides to terminate the presidential term through impeachment, the Speaker of the parliament becomes acting president. In those circumstances, new legislation is countersigned by the prime minister instead of the president and a new presidential election must be held within 60 days. This situation occurred after the death of Franjo Tuđman (the only president to date to die in office) on 10 December 1999, when Vlatko Pavletić became the acting president. After the parliamentary elections of 2000, the role was transferred to Zlatko Tomčić, who filled the office until Stjepan Mesić was elected President of Croatia in 2000.