Miscreants allegedly attacked police and snatched away an arrestee named Ripon at Gopalpur in Tangail on Friday night. The arrestee was handcuffed during the attack.
Two police officials were injured in the attack.
Later the police detained two of the attackers and rearrested Ripon, a listed criminal.
Police said that they had arrested Ripon and were taking him to the police station when the miscreants attacked them in the Bhutia area of Dhopakandi UP.
Police claimed that the attackers were led by one Mizanur, who is the brother of the ruling party candidate in the recently held Union Parishad election in the area.
The two attackers detained by the police were sent to court on Saturday.
The injured police officials were identified as Salauddin and Makhon Chandra Sutradhar.
Police said there were arrest warrants on Ripon in mugging and abduction cases.