Votes are being counted in Bosnia after general elections to choose who will lead the country after international supervision is due to end next year.
Turnout was higher than in Bosnia's previous elections
Bosnia's political structure remains divided along ethnic lines, with a rotating presidency comprising a Muslim, a Serb and a Croat.
The international community has largely run the country since the Bosnian war of the early 1990s.
Voters cast ballots for the presidency, parliament and local government.
Preliminary results in the presidential race indicate that the front-runner for the Muslim seat is the wartime Foreign Minister Haris Silajdzic.
He is seeking to unify Bosnia's two largely autonomous regions - the Muslim-Croat federation and the Serb Republic.
The Serb position is likely to go to Nebojsa Radmanovic, whose party opposes Mr Silajdzic's idea.
The race for the Croat place on the presidency is said to be too close to call.
Despite poverty and high unemployment, issues of ethnicity and nationalism have dominated the election campaigns, says the BBC's Nicholas Walton in Sarajevo.
The office of the International High Representative, which oversees the peace process, will close in mid-2007.
But if it judges that Bosnia's politicians are unable to take on the responsibility for taking the country forward, the international community has warned that it might not hand over power after all, our correspondent adds.