BELGRADE, Serbia — Ratko Mladic, the Bosnian Serb commander who died while serving a life sentence for war crimes, was buried on Monday with military honors and crowds attending as Serbia defied European Union warnings against allowing public homage to the man found guilty of the continent’s first case of genocide since World War II.

Thousands of mourners started arriving early at the small Serbian Orthodox Church of St. Luke in Belgrade to honor Mladic as his body lay in state. Mladic is still viewed as a hero by many Serbs. His military officer’s cap and saber rested on the coffin, which was flanked by men in fatigues. The head of the Serbian Orthodox Church, Patriarch Porfirije, led the funeral service while Serbian army soldiers carried Mladic’s flag-draped coffin at the cemetery as mourners clapped and a military orchestra played.

Mladic died at 84 on Aug. 27 in The Hague, Netherlands, where he was serving a life sentence. He was sentenced in 2017 for orchestrating the massacre of more than 8,000 Muslim men and boys in Srebrenica in 1995 and other war crimes.

— The Associated Press