On 15 May, Stjepan Mesić, a Croat, was scheduled to be the chairman of the rotating presidency of Yugoslavia. Serbia, aided by Kosovo, Montenegro, and Vojvodina, whose presidency votes were at that time under Serbian control, blocked the appointment, which was otherwise seen as largely ceremonial. This maneuver technically left Yugoslavia without a head of state and without a commander-in-chief. Two days later, a repeated attempt to vote on the issue failed. Ante Marković, prime minister of Yugoslavia at the time, proposed appointing a panel which would wield presidential powers. It was not immediately clear who the panel members would be, apart from defense minister Veljko Kadijević, nor who would fill position of JNA commander-in-chief. The move was quickly rejected by Croatia as unconstitutional. The crisis was resolved after a six-week stalemate, and Mesić was elected president — the first non-communist to become Yugoslav head of state in decades.