At least 22 inmates were injured as some prisoners of Gazipur district jail tried to revolt following the release of some politically affiliated inmates on Thursday.
Jailer Mushfiqur Rahman said some political prisoners were released from the jail after the fall of the Sheikh Hasina led government recently.
Then other prisoners, who were convicted in different cases including robbery, staged demonstrations for not being released from the jail on Thursday morning.
At one stage, they set fire on the beds and furniture and tried to flee the jail.
Later, the prison guards charged baton and fired bullets to quell the clash, leaving 22 inmates injured.
On information, a team of the army rushed in and brought the situation under control.