Three staff members of a high school in the western Bosnian town of Sanski Most were killed on Wednesday when a school employee shot them.
Police were notified at 10:15 AM (0815 GMT) that a man had opened fire at the school with an automatic rifle, the police spokesman for Una-sana canton, Adnan Beganovic, said, adding that the shooter killed the school dean, the secretary and a teacher.
"The suspect tried to take his own life and was gravely injured," Beganovic said. He was transferred for emergency treatment in the nearby town of Banja Luka. An investigation is underway.
The school had not yet reopened from the summer holidays so no children were involved.
N1 TV, citing witnesses, said that a janitor who had a history of disagreements with the management and was under disciplinary proceedings, sought out specific people and shot them. Reuters could not immeditely verify that report.
Mass shootings are comparatively rare in the Western Balkans which is awash with weapons that remained in private hands from wars in the 1990s.
In July, a war veteran in neighbouring Croatia shot five people including his mother in a nursing home and wounded six others.
President Donald Trump has signed an executive order terminating a US sanctions programme on Syria, allowing an end to the country's isolation from the international financial system and building on Washington's pledge to help it rebuild after a devastating civil war.
Former criminology graduate student Bryan Kohberger has agreed to plead guilty to killing four Idaho college students in 2022, a move that would spare him the death penalty under a deal with prosecutors, according to the family of one of the victims.
US President Donald Trump plans to host Israeli Prime Minister Benjamin Netanyahu at the White House on July 7, a US official said, as the American leader pressed for a ceasefire between Israel and Hamas in Gaza, and the return of remaining hostages.
The Israeli military acknowledged on Monday that Palestinian civilians were harmed at aid distribution centres in the Gaza Strip, saying that new instructions had been issued to Israeli forces following "lessons learned".
Palestinians in northern Gaza reported one of the worst nights of Israeli bombardment in weeks after the military issued mass evacuation orders on Monday, while Israeli officials were due in Washington for a new ceasefire push by the Trump administration.