Jean Baptiste Lacroix / WireImage 1 / 5
Jean Baptiste Lacroix / WireImage 1 / 5

SIERRA BLANCA, Texas (AP) — Authorities say Hollywood actor Armie Hammer was arrested at a border patrol checkpoint in West Texas after a drug-sniffing dog discovered marijuana in his car.

RELATED: Check out the best celeb mug shots

The 25-year-old, who starred with Leonardo DiCaprio in "J. Edgar," spent about a day in jail before paying a $1,000 bond.

Arrest records show he had 0.02 ounces of marijuana, three medicinal marijuana cookies and one brownie when arrested Nov. 30 in Sierra Blanca, a few miles from the Mexican border.

RELATED: See which stars are out and about

El Paso's district attorney declined to prosecute because a felony requires more than 4 ounces of actual marijuana. The county attorney could pursue lesser charges, since the case is going back to the local sheriff, but Hammer's lawyer Kent Schaffer says no charges have been presented.

Hammer also starred in "The Social Network."

RELATED: The hottest couples at the Golden Globes