A New York married duo allegedly turned more than 500,000 pain pills into profit before the feds cracked down on them.

Federal prosecutors allege that Lilian Jakacki and her husband Marcin sold enough pills over the course of five years with an estimated street value of $10 million.

RELATED: Drug overdoses on the rise in New York City, but down in Staten Island 

Lilian, a registered pharmacist, operated the Chopin Chemists stores in Greenpoint and Ridgewood. Prosecutors allege the stores topped out as the largest purchasers of oxycodone between 2010 and 2012.

Prosecutors also said the pair used their profits to buy a $2 million house in Greenwich, Connecticut.

Documents filed on Thursday after a two-year investigation allege the couple organized a racket wherein prescriptions for the pills would be made out to luxe brand names — including Coach and Chanel — instead of people.

The Drug Enforcement Administration sent an undercover officer into the Jackaki's store in September who successfully made off with 700 oxycodone pills in one sale, according to the inducement released Thursday.

RELATED:   'Heroin in pill form': Staten Island racked by prescription painkiller addiction 

In his report, the agent said Marcin referred to the 30 milligram pills as "candies."

Lilian, 49, faces multiple charges of distribution, possession and money laundering — many of which carry a maximum sentence of 20 years in prison. Her husband faces similar charges and sentences.

A third man caught up in the investigation, Staten Island Man Robert Sybulski, 30, faces a 20 year prison sentence. Authorities allege he bought tens of thousands pills from the married couple.

"Whether it is the corrupt doctor writing unwarranted prescriptions; the greedy pharmacist selling pills based on fake or no prescriptions; or the street-level drug dealer peddling painkillers directly to the addicted, we must confront this escalating epidemic at every level," said Manhattan U.S. Attorney Preet Bharara.

A highly regulated, opiod drug, oxycodone was the source of string of overdose deaths in New York City. The city Health Department reported the rate of overdose deaths related to opioid analgesics like oxycodone were involved in 28 percent of overdoses in 2013 mostly among Staten Island residents.

The rate of abuse of the substances increased both in Queens and Brooklyn between 2012 and 2013.