The Internal Revenue Service building in Washington. (Susan Walsh/AP)

An attorney with the Internal Revenue Service’s professional standards office in Washington has been charged with conspiring to distribute 500 grams or more of methamphetamine, U.S. prosecutors said.

Jack Vitayanon, 41, an IRS attorney since 2012 allegedly participated in a meth ring with others in Arizona and on Long Island between about September 2014 and January, according to a criminal complaint unsealed in Brooklyn federal court Wednesday.

Public records show Vitayanon living in the U Street corridor. Prosecutors said the criminal complaint noted that during one alleged transaction, Vitayanon directed a buyer to make a cash deposit of $1,650 to Vitayanon’s bank account to cover the cost of one ounce of meth including shipping via FedEx and “my Ubers.”

“A federal attorney working for the IRS’s Office of Professional Responsibility — broke bad and supplemented his income by selling distribution quantities of methamphetamine,” Robert L. Capers, U.S. attorney for the eastern district of New York alleged in a statement about the charge.

Vitayanon was ordered detained and agreed to be transported to Brooklyn in a first court appearance Thursday before U.S. Magistrate G. Michael Harvey of Washington. His attorney, Edward C. Sussman, declined comment.

No court date in New York has been set pending his transfer, prosecutors said.

John Lattuca, a Homeland Security Investigation special agent, stated in a court affidavit that in a recent negotiation and sale Vitayanon was recorded via internet-based video chats. That alleged transaction included a Dec. 15 video chat between Vitayanon, who was at his apartment, and a person in Oceanside, N.Y., in which prosecutors assert Vitayanon appeared to be smoking meth from a glass pipe during the call.

A search warrant of Vitayanon’s apartment seized additional amounts of the suspected drug, paraphernalia, packaging materials and drug ledgers, authorities alleged.

He was arrested Wednesday in Washington, prosecutors said.