Police plan to charge a New York man, who tried to escape officers by jumping out a second story window, with drug trafficking charges after seizing thousands of dollars in cocaine and heroin.

South Portland police were called to the Days Inn on Maine Mall Road just after midnight for a report of the smell of marijuana emanating from a room. When police identified themselves at the door, Anthony Calderon, 30 of Brooklyn, N.Y., jumped from the second floor window and was apprehended in the parking lot.

He was taken to Maine Medical Center for injuries sustained in his escape attempt, police said.

Another man, Davidson Cordero, 22, of Brooklyn, N.Y. was found hiding in a nearby room that had been left open for house cleaning.

The Maine Drug Enforcement Agency was called and agents executed a search warrant at the room. They found 200 bags of heroin, with a street value of $4,000, 50 grams of cocaine, worth about $5,000, $7,000 in cash and a handgun with the serial number obliterated, police said.

Calderon, who is recovering under guard at the hospital, has a history of drug convictions in new York, police said. Cordero was charged with criminal trespass and has been released on bail.