A person died at a jail in Milton, Ont. over the weekend, becoming the second immigration detainee in two weeks to die at an Ontario jail.

The person, who has not been publicly identified, died at Maplehurst Correctional Complex on Sunday, Canada's Border Service Agency said in a statement.

The CBSA did not provide information on the person's age or gender, but said it would review the circumstances surrounding their death. The person's family has been notified, the statement said.

The person in custody is the second immigration detainee to die in CBSA custody this month.

Last week, an immigration detainee died in custody at the Toronto East Detention Centre in Scarborough. Officials have not publicly identified the person who died in Toronto either, saying that an investigation was ongoing.

The CBSA detains those who are considered dangerous, or who fail to provide identification to authorities. Those who fail to appear to admissibility hearings or deportations may also be detained.

In 2014, 8,519 people were detained for some period of time by the CBSA. The majority of those in custody were detained in provincial jails in Ontario.