MIAMI-DADE COUNTY, Fla. – Miami-Dade police said officers uncovered a fully functional drug lab while following up on an eviction order Saturday in northwest Miami-Dade County.

The elaborate setup was allegedly being used to make and store various drugs, including methamphetamine, ecstasy, LSD and more.

A 29-year-old man in the home along the 8000 block of Northwest 200th Street was taken into custody about 7 a.m. Saturday.

The man was arrested on a charge of armed trafficking, but more charges are pending. Police said the man was renting the home.

The DEA Miami-Dade police, Miami-Dade County state attorney and chief state attorney all arrived at the home.

Detectives spent hours removing pill makers, more than 100,000 empty pill capsules, flasks, a pill press, beakers and dozens of instruments used to make various types of drugs.

Police said finished product, including methamphetamine, LSD and ecstasy, were also found in the home.

Authorities said the lab posed a severe threat to the surrounding neighborhood, given the dozens of chemicals found in the home.

Police remained at the scene at 9 p.m. Saturday and planned to continue searching and cleaning the home for several more hours.

Follow Andrew Perez on Twitter @PerezLocal10

Follow Local 10 News on Twitter @WPLGLocal10