OCEAN CITY, Md. (AP) — Officials in the beach resort town of Ocean City have banned synthetic marijuana.

Mayor Rick Meehan signed an emergency ordinance Tuesday banning the sale, possession and manufacturing of K2 and other substances that contain marijuana imitations or hallucinogenic agents, and any associated paraphernalia. The town council had approved the measures.

READ MORE: Harbaugh Confirms Ravens CB Marlon Humphrey Will Miss The Rest Of The Season

Councilman Joe Hall dissented, saying he preferred to wait for state action. But Meehan says that could take months and Ocean City shouldn’t wait.

READ MORE: Sharon Gless On Book 'Apparently There Were Complaints: Cagney & Lacey 'Changed The History Of Television For Women'

The council encouraged police to begin searching boardwalk stores for the substance immediately.

Worcester State’s Attorney Beau Oglesby says he’s optimistic the ordinance will have an immediate impact on what he considers to be a “very real problem” in Ocean City. He believes that county officials will consider a county-wide ban.

MORE NEWS: Pending Regulatory Approval, Sportsbook At Horseshoe Casino Could Open Friday

(Copyright 2011 by The Associated Press. All Rights Reserved.)