The two men bragged about what they were doing on Instagram.
Lewes Prison Riot
Specialist prison officers had to be brought in when rioting inmates "went on the rampage'' at Lewes Prison.
The Ministry of Justice has confirmed that a national response unit was drafted in to control the prisoners at the East Sussex jail during the violence which lasted from 10.30am to 4.30pm on Saturday.
A spokeswoman for the Government department said: "Specially trained prison staff have resolved an incident involving a small number of prisoners on one wing at HMP Lewes.
"We are absolutely clear that prisoners who behave in this way will be punished and could spend significantly longer behind bars.''
Mike Rolfe, chairman of the Prison Officers Association, said that cells and offices were damaged in the "serious disturbance'' and blamed "poor management and severe shortage of staff''.
He said: "There were only four staff on that wing and all four retreated to safety after threats of violence and the prisoners went on the rampage.''
A report in February this year by Her Majesty's Inspectorate of Prisons found high levels of violence and poor oversight at Lewes.
The report said: "The high level of assaults demands more systematic and focused violence reduction analysis and actions."
After reading the report, Maria Caulfield, MP for Lewes, requested an urgent meeting with the Prisons Minister, Andrew Selous.
In June, a prisoner died after being beaten up in his cell. Wheelchair-bound sex-offender Patrick Foley, 85, was hospitalised after the attack and died on his way back to Lewes following his hospital discharge.
Figures released by the Home Office in August showed a 45 per cent rise in assaults at Lewes during 2015, increasing from 106 in 2014 to 154 in 2015.
Xmas warning over button batteries
Man pulls gun on staff at Sainsbury's supermarket, Peacehaven
A police sting has caught four shops in Burgess Hill and East Grinstead selling alcohol to children.
Recently Played Tracks
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
What's happening on the roads where you are?
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart 102.4 and 103.5
Get some great ideas on how to advertise your business on radio, online and on mobile.