A St. Mary’s convicted sex offender accused of failing to report to police after an arrest earlier this month was taken into custody again Tuesday afternoon, court papers state, during a scuffle with police outside a courtroom.

Shane A. Corcoran, 25, of Bushwood eventually was shocked and subdued with a Taser, court papers state, and he was jailed on charges of a sex-offender registry violation, resisting arrest and committing a second-degree assault on sheriff’s detective Cpl. William Raddatz.

Charging papers allege that Corcoran pushed the detective into a chair during a confrontation in a small conference room outside the district court courtroom, and struck him multiple times in the face and head. The first jolt from deputy Matthew Rogers’ Taser “was not effective” in subduing Corcoran, court papers state, and the two lawmen fought with the suspect to take him to the floor, before the stun gun was used again.

Raddatz also was punched during a Dec. 13 visit to Corcoran’s home, police report, resulting in Corcoran’s arrest on charges of second-degree assault, resisting arrest and failing to report a change of his address on the sex-offender registry. That arrest was followed by a charge that Corcoran had violated his probation from guilty pleas in 2010 to physically abusing and committing a fourth-degree sexual offense with a preteen girl, online court records state. Charging papers indicate that Raddatz was attempting to arrest Corcoran this week for not reporting that he had been charged with the probation violation.