A 30-year-old Buffalo man was arrested Friday on drug charges after about 18 pounds of marijuana valued at $40,000 were seized from his car.

Andrew Powell, who lists a Gilbert Street address, was arrested by detectives of the Erie County sheriff’s and Buffalo police narcotics units, who spotted his car about 3 p.m. on Pine Street.

Senior Detective Alan Rozansky of the sheriff’s unit said officers acted on an arrest warrant issued by State Supreme Court Justice Timothy J. Drury. Rozansky and Detective Tim Donovan said Powers was believed to have been planning to sell that marijuana in Buffalo and its suburbs.

Powers is being held on charges of first-degree criminal possession of marijuana, a felony carrying a possible 15-year prison term.