A man involved in a standoff with the Royal Newfoundland Constabulary in St. John's in May has pleaded guilty to a number of charges.

Justin Wiseman, 22, was expected to stand trial in provincial court on Thursday — however, pleaded guilty instead — to a total of 17 charges. 

Several of the charges were weapons offences, related to the nine-hour standoff on May 11-12 on Springdale St., when Wiseman had a shotgun. 

He also pleaded guilty to two counts of armed robbery, where he wielded a knife. 

One of the robberies was at a convenience store in St. John's, just hours before the standoff.

Wiseman will be sentenced on Friday. He is still facing other charges in connection with the riot at Her Majesty's Penitentiary in August, including hostage taking.