The prisoners took advantage of ongoing political unrest triggered by disputed poll results, police say.