A hostage situation at the detention centre in the basement of the Sept-Îles courthouse has ended.

Inmates attacked a female correctional officer around 3:30 Wednesday afternoon and held her hostage, said the Surete du Quebec.

No one was injured in the incident.

The SQ said two male inmates were involved. Two men, aged 22 and 26, are expected to appear in court Thursday. It was unclear whether the convicts surrendered after a confrontation with police.

The courthouse was evacuated Wednesday afternoon as SQ officers set up a security perimeter around the building on Laure Blvd.

The security perimeter has since been lifted.