As thousands of male criminals fled, the jail was set alight and many female inmates were burned alive.