Police in Hartford, Connecticut said they seized half a kilogram of fentanyl in a drug raid Thursday that sent several officers to the hospital for exposure to the dangerous drug.

Detectives from Hartford vice, intelligence and narcotics served a warrant to an apartment on Garden Street, when a suspect tried to destroy evidence and exposed police to the powder, WVIT reported.

>> Read more trending news

The building was declared uninhabitable and over a dozen people had to be temporarily relocated.

Police said half a kilogram of fentanyl, a firearm, ammunition, drug packaging and $4,000 in cash were seized, WTNH reported.

Hartford residents Raymond Vazquez, 38, Luis Diaz, 42, and Francheska Muniz-Rodriguez, 28 have been charged with several counts related to drug possession and trafficking, according to WVIT.

They are expected back in court next month.