Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

An inmate jailed in New York City’s Metropolitan Detention Center has tested positive for the pandemic COVID-19 — marking the first coronavirus case of a detainee in the federal prison system.

The inmate remains in isolation at the federal jail in Brooklyn following the confirmed case, said a spokesperson for the US Bureau of Prisons.

The inmate was hospitalized for chest pains on Thursday when health officials tested for the bug, according to the BOP

Prison officials “immediately placed [the prisoner] in isolation” once they were released from the local hospital Friday, the spokesperson said.

On Saturday, the test came back positive and all other inmates housed near the infected detainee were quarantined and affected areas were sanitized, according to the BOP. No staffers in the jail have tested positive for the virus,

The Associated Press first reported the case.

Over the last week, the federal prison system has tried to prevent the spread of the virus in its 122 facilities by suspending inmate visits and limiting prisoner transfers.

Two federal prison staffers — one in Grand Prairie, TX, and another Leavenworth, KS — were confirmed to have contracted the virus on Friday, according to the BOP.

Neither had any contact with inmates, according to the BOP.

The news of the coronavirus case inside the federal prison system comes as civil rights groups warn of the unsafe “breeding ground for infectious disease.”

On Friday, the Legal Aid Society sued the Department of Corrections for the release of more than 100 inmates awaiting state trials.

Mayor Bill de Blasio’s administration has said it will release a few dozen inmates who are most vulnerable to the bug from city jails.