A Long Island doctor charged with illegally providing oxycodone was arrested at JFK as his flight to South America was taxiing for takeoff.

Dr. Noel Blackman, a Far Rockaway resident and Guyana native, planned to leave the United States permanently on Sunday with $30,000 in his luggage, officials said in an NBC report. Agents caught the fleeing doctor onboard a Guyana-bound jet leaving JFK.

RELATED: Mos Def arrested for trying to leave South Africa with a 'world passport'

Federal authorities told Newsday that Blackman wrote 2,487 prescriptions for oxycodone in 2015 for a total of 365,000 pills, a major increase from the 114 oxycodone prescriptions he wrote in 2014.

“This volume of patients is consistent with a doctor’s participation in a conspiracy to illegally distribute oxycodone and not with a legitimate pain management practice,” an agent who had reviewed the case was quoted by Newsday.

RELATED:  VIDEO: Six arrested at Boston airport workers MLK Day protest

On Monday, Blackman was arraigned in Central Islip, charged with conspiracy to distribute oxycodone, according to NBC.

Before his arrest, Blackman had maintained offices in Franklin Square, in Elmhurst, Queens, and in Brooklyn, Newsday added.