A non-U.S. citizen living in Oregon pleaded guilty Tuesday to taking part in a conspiracy to produce thousands of fake government documents, including false immigration records.

Prosecutors said Miguel Merecias-Lopez, 24, and other unnamed co-conspirators worked out of a secret lab in Woodburn, Ore., where they used computers, scanners, laminators, digital cameras, and a high-resolution printer to produce the fraudulent documents, including driver’s licenses, social security cards, non-immigrant visas and legal permanent resident cards, marriage licenses, and birth certificates.

Merecias-Lopez produced more than 300 fraudulent documents, according to the U.S. Attorney’s Office for the District of Oregon.

He pleaded guilty to one count of conspiracy to produce false identification documents and one count of possession with intent to distribute methamphetamine.

Merecias-Lopez was part of the Oaxaca, Mexico-based operation, known as the “Fraud Doc Ring,” from January 2017 until he was arrested Sept. 21, 2017 in a fast-food parking lot during a drug deal.

Investigators found Merecias-Lopez had more than a kilogram of methamphetamine on him, and a later search at his apartment found additional methamphetamine and equipment connected to the fraudulent document scheme.

Investigators believe the scheme has operated for more than a decade and more than 10,000 documents were produced and sold, according to court documents. The conspirators received payment for the documents via Paypal, U.S. mail, or in person.

Merecias-Lopez is not a U.S. citizen, according to court documents and is likely to be deported after his sentence.

Conspiracy to produce false identification documents carries a maximum 15-year prison sentence and a $250,000 fine. The drug conviction has a maximum sentence of life in prison with a mandatory 10-year minimum sentence.

Merecias-Lopez is scheduled to be sentenced on June 18.