"Making History" and "Happy Endings" star Adam Pally was arrested Tuesday night in New York and hit with two misdemeanor drug possession charges, a New York Police Department spokesperson confirmed to Variety.
A source tells Variety that Pally was seen smoking marijuana with an e-cigarette in the neighborhood of Hell's Kitchen in public view at about 10:46 p.m. When police arrested him, they found that he had a small bag of cocaine, and cited him with the second drug charge. He's since been released from custody.
He has been charged with criminal possession a controlled substance in the 7th degree, and criminal possession of marijuana in the 5th degree. Pally's ticket requires that he appear in front of a judge within 30 days.
His reps did not immediately respond to request for comment on Wednesday. TMZ first broke the news of the arrest.
Pally is best known for his role as Max Blum on ABC comedy "Happy Endings," which was canceled after three seasons in 2013. He also plays Dr. Peter Prentice in Mindy Kaling's "The Mindy Project," and currently stars in the Fox comedy "Making History."
His other credits include "Search Party," "Iron Man 3," "Dirty Grandpa," "The To Do List," and "Taking Woodstock."
Adam Pally out and about
Adam Pally out and about
NEW YORK, NY - MARCH 15: Actor Adam Pally visits Build Series to discuss his new comedy series 'Making History' at Build Studio on March 15, 2017 in New York City. (Photo by Slaven Vlasic/Getty Images)
LOS ANGELES - MARCH 9: John Goodman and Adam Pally backstage during 'The Late Late Show with James Corden,' Thursday, March 9, 2017 (12:35 PM-1:37 AM ET/PT) On The CBS Television Network. (Photo by Terence Patrick/CBS via Getty Images)
PARK CITY, UT - JANUARY 24: Actors Adam Pally (L) and Fred Armisen attend the 'Band Aid' Premiere at Eccles Center Theatre on January 24, 2017 in Park City, Utah. (Photo by George Pimentel/Getty Images for Sundance Film Festival)
PARK CITY, UT - JANUARY 19: Actor Adam Pally attends 'The Little Hours' premiere during day 1 of the 2017 Sundance Film Festival at Library Center Theater on January 19, 2017 in Park City, Utah. (Photo by Michael Loccisano/Getty Images for Sundance Film Festival)
LOS ANGELES, CA - DECEMBER 08: Actor Adam Pally attends the 2016 GQ Men of the Year Party at Chateau Marmont on December 8, 2016 in Los Angeles, California. (Photo by Stefanie Keenan/Getty Images for GQ)
LOS ANGELES, CA - OCTOBER 29: Adam Pally attends Entertainment Weekly's Popfest at The Reef on October 29, 2016 in Los Angeles, California. (Photo by Tibrina Hobson/FilmMagic)
MAKING HISTORY: Adam Pally in the 'The Shot Heard Round The World' episode of MAKING HISTORY airing Sunday, March12 (8:30-9:00 PM ET/PT) on FOX. (Photo by FOX via Getty Images)
THE MINDY PROJECT -- 'Bat Mitzvah' Episode 509 -- Pictured: Adam Pally as Peter Prentice -- (Photo by: Chris Haston/Universal Television/NBCU Photo Bank via Getty Images)