His trial began on 10 July 2006. On 26 February 2009, the ICTY sentenced ainović to 22 years in prison, following a conviction for crimes against humanity and war crimes, including deportations and forcible transfers, murders and other persecutions.[2][3] On 23 January 2014 his sentence was reduced to 18 years on appeal.[4]
In June 2015, lawyers of ainović asked for early release from the prison, explaining that he has served nearly two thirds of the sentence, during which his behavior was commendable; also adding that his health is weak due to age and diagnosed diabetes and glaucoma.[5] On 26 August 2015, three months after the request by his lawyers, he was released from the prison after serving (including pretrial detention and time served) two thirds of his sentence.[6]