Misdemeanor trespassing charges against actor Shia LaBeouf were dropped Wednesday morning after Walgreens Co. officials said they didn't want to prosecute the matter.

LaBeouf appeared in Branch Courtroom 29 at 2452 W. Belmont Ave. at 9 a.m. to answer a charge that he refused to leave a downtown Walgreens last month.

The hearing lasted only a minute, with prosecutors saying they had received a letter from the drugstore company declining to pursue the matter.

The wonderkind hailed as the next Tom Hanks appeared in Misdemeanor Court flanked by two of the city's more prominent attorneys, Terry Gillespie and Edward Genson.

"It's a hollow victory for two lawyers of your caliber," said Judge William O'Malley from the bench.

LaBeouf, who wore a black jacket, fitted gray slacks and a light-colored, collared shirt, said nothing. He left through a back door without comment.

LaBeouf was arrested about 2:25 a.m. Nov. 4 in Walgreens, 757 N. Michigan Ave., after he allegedly refused to leave and a security guard called police, police said.

The guard signed a complaint, and the star of "Disturbia" and "Transformers" and the upcoming Indiana Jones sequel was cited on a misdemeanor count of trespassing.

He posted bail and was freed later that morning.

source