Serbia's Prime Minister Aleksandar Vucic has been chased away by stone-throwing protesters from a ceremony marking the 20th anniversary of the Srebrenica massacre in Bosnia-Herzegovina.
About 8,000 Bosnian Muslim men and boys died at the hands of Bosnian Serb forces amid the break-up of Yugoslavia.
Serbia backed the Bosnian Serbs and Mr Vucic had been praised for attending.
In Belgrade afterwards, he urged Serbs not to show hatred to Bosnian Muslims, adding he wanted friendly ties.
The Bosnian War saw Bosnian Serb forces, backed by Serbia, fighting the Muslim-led Bosnian government.
In July 1995, thousands seeking shelter in what was supposed to be a UN refuge in Srebrenica were shot dead. It was Europe's worst atrocity since World War II.
Mr Vucic is a former radical Serb nationalist who served under Serbian leader Slobodan Milosevic in the late 1990s.
He is now a pro-Western politician seeking to steer Serbia into the European Union. His government managed to secure support from its ally Russia on Wednesday to veto a UN resolution calling the events in Srebrenica a genocide.
Upon arriving in Srebrenica, he published an open letter which did not use the word genocide but said: "Serbia clearly and unambiguously condemns this horrible crime and is disgusted with all those who took part in it and will continue to bring them to justice."
A funeral service for more than 100 victims whose remains were recently identified using DNA analysis was also held on Saturday.
Attending the ceremonies, Bill Clinton, the US president at the time, apologised that it had taken so long to end the war, adding: "I never want to see another killing field like this."
Mr Clinton praised Mr Vucic for being there.
However, later the Serbian leader was heckled by crowds shouting "Allahu Akbar" as he entered to lay flowers.
As some chanted "responsibility" and "genocide", others proceeded to throw objects - reports suggested stones, water bottles and a shoe were among the items used.
One hit Mr Vucic on the lip and, as the delegation scrambled away, his glasses fell to the ground and were broken.
Serbia's interior minister said: "This is a scandalous attack and I can say it can be seen as an assassination attempt."
Mr Vucic himself said after returning to the Serbian capital Belgrade: "My hand remains outstretched and I will continue with my policy of reconciliation between the two Balkan nations."
Fourteen individuals have been convicted at the UN's International Criminal Tribunal for the Former Yugoslavia (ICTY) in The Hague in relation to the Srebrenica killings.
The former Bosnian Serb army chief, Ratko Mladic, and former Bosnian Serb leader Radovan Karadzic are both on trial at The Hague in separate processes.
They are both accused of crimes relating to the massacre.
ICTY - and the International Court of Justice - have called the events genocide.
At the scene
The commemoration provided a perfect illustration of just how difficult reconciliation can be - in Bosnia and across the region.
Tens of thousands of people came to pay their respects to the victims of Srebrenica and show their solidarity with the people of this much-diminished town. They heard international dignitaries speak of the horror of what had occurred here and how it must never be repeated.
Then former US President Bill Clinton made a specific point of praising the courage of Serbian Prime Minister Aleksandar Vucic for turning up in the face of hostility from many ethnic-Bosniaks. They are angry that while Serbia has condemned the massacre, it has never used the word genocide to describe what happened.
Sadly, but predictably, Mr Vucic was loudly jeered by many in the crowd. Some even threw objects as he paid his respects in the cemetery. The imam reminded the crowd that it was time to pray. But the anger here remains.
- Guy Delauney
Timeline of Srebrenica siege
- 6-8 July 1995: Bosnian Serb forces start shelling Srebrenica enclave.
- 9 July: Bosnian Serbs step up shelling; thousands of Bosnian Muslim refugees flee to Srebrenica.
- 10 July: Dutch peacekeepers request UN air support after Bosnian Serbs shell Dutch positions. Large crowds of refugees gather around Dutch positions.
- 11 July: More than 20,000 refugees flee to main Dutch base at Potocari. Serbs threaten to kill Dutch hostages and shell refugees after Dutch F-16 fighters bomb Serb positions. Bosnian Serb commander Ratko Mladic enters Srebrenica and delivers ultimatum that Muslims must hand over weapons.
- 12 July: An estimated 23,000 women and children are deported to Muslim territory; men aged 12-77 taken "for interrogation" and held in trucks and warehouses.
- 13 July: First killings of unarmed Muslims take place near village of Kravica. Peacekeepers hand over some 5,000 Muslims sheltering at Dutch base in exchange for the release of 14 Dutch peacekeepers held by Bosnian Serbs.
- 14 July: Reports of massacres start to emerge.
- BBC