Tuđman died in 1999 and in the early 2000 parliamentary elections, the nationalist Croatian Democratic Union (HDZ) government was replaced by a center-left coalition under the Social Democratic Party of Croatia, with Ivica Račan as prime minister. At the same time, presidential elections were held which were won by a moderate, Stjepan Mesić. The new Račan government amended the constitution, changing the political system from a presidential system to a parliamentary system, transferring most executive presidential powers from the president to the institutions of the parliament and the prime minister.