The six-week conflict between Azerbaijan and ethnic Armenian forces over the region and its surrounding areas was brought to a halt by a Russian-brokered ceasefire deal last month.
Sixteen of the dead were decapitated in the second major eruption of violence to rock the country's severely overpopulated and deadly prison system in as many months.
President Khalifa's annual pardon ahead of Eid Al Adha aims to enhance family cohesion and bonds, brings about happiness to mothers and children and give the released prisoners the opportunity to rethink their future and return to the track of successful social and professional life.
A pair of prison guards were held hostage for at least nine hours by two dangerous inmates at a Swedish jail, demanding pizza as ransom. The guards were later released when the pizza was delivered, Stina Lills, a spokeswoman for the prison administration.