LIVERMORE -- An 18-year-old Livermore man and two teens have been charged on four counts involving drug possession, along with intent to sell and transport narcotics, authorities said Wednesday.

The Alameda County District Attorney's Office filed the charges Tuesday against 18-year-old Jonathan Urdahl and two other boys, ages 16 and 17, according to Livermore police Officer and spokesman Steve Goard. The three, who police said shared a residence in a home at 2347 Seventh St., were arrested on Nov. 27 after the 16-year-old allegedly sold heroin to two people inside a parked car outside, Goard said.

A special operations unit was conducing surveillance of the home in preparation to serve a search warrant on the day of the arrests, he said. Goard said that during the surveillance, the 16-year-old suspect made the sale.

Urdahl and the other two were charged with possession of a narcotic, transportation of a narcotic and sales of a narcotic, as well as possession of marijuana with the intent to sell, authorities said.

Police served the search warrant immediately after the sale and recovered heroin, marijuana and evidence of drug sales, said. Urdahl was taken to Santa Rita Jail, where he has since been released on bail. The other two were taken to Alameda County Juvenile Hall.

More than a dozen calls about the residence have come from neighbors over the past year, Goard said, with incidents that have included drug activity, weapon violations and gang-related activity.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.