Authorities said the inmates broke free amid protests by opposition demonstrators angry at election results.