Kosovo lawmakers have approved a law to set up a special war crimes court.

The overnight vote was the last hurdle for creating the legal body, which will have international judges and prosecutors try ethnic Albanian guerrillas for the alleged killing of civilian detainees, most of them Serbs immediately after the war ended in 1999.

The assembly voted 73-1 in favor of the law despite an opposition boycott. On Monday, the assembly amended the constitution so that the court could be created.

In 2010, a Council of Europe report claimed that leaders of the now disbanded Kosovo Liberation Army, including former Prime Minister Hashim Thaci, were responsible for the deaths of hundreds of Serbs, Roma and ethnic Albanians suspected of collaborating with Serbs. Thaci denies the claims.

Serbia rejects Kosovo's 2008 secession.