The suspected kingpin of a multimillion-dollar heroin ring that funneled drugs from the Bronx to Buffalo was arrested late last week after eluding authorities for nearly two years, the State Police announced Monday.

The State Police special investigations unit in White Plains had been tracking leads on the suspect, Eury Rodriguez, 33, of Queens, and took him into custody Thursday.

Authorities say Rodriguez was involved in moving more than seven kilograms of heroin with an estimated street value of $3.5 million from New York City to Buffalo.

Rodriguez is scheduled to be arraigned today in Erie County Court on charges of criminal possession of a controlled substance in the first degree, criminal sale of a controlled substance in the first degree, conspiracy in the second degree and operating as a major trafficker, also known as the “drug kingpin law,” officials said.

The case began to unfold about two years ago as authorities from Schneiderman’s office, State Police and local police began making street-level purchases and conducting wiretaps and other forms of surveillance.

That led them to a stash house in an alley in the heart of Elmwood Village in February 2010. Later that year, two Buffalo men driving up from the Bronx on the Thruway were stopped in Onondaga County and arrested with 300 grams of heroin. A month later, authorities seized five kilograms in the Bronx.

In March 2011, 13 of 15 people named in a 51-count indictment were arrested. But among those who managed to avoid arrest was Rodriguez. State Police said he “went underground.”