A guard was killed and more than 150 inmates freed when Muslim rebels stormed the prison.