Updated

A drug addict who was arrested on charges of burglarizing "Spider-Man" star Kirsten Dunst's New York City hotel penthouse suite has been sentenced to 4 1/2 years in prison.

Jarrod Beinerman was arrested on burglary and larceny charges after a security camera captured his movements in Manhattan's SoHo Grand Hotel early Aug. 9. He was allowed to plead guilty to the lesser charge of attempted burglary.

Police say cash, cameras, an iPod, wallets and purses were stolen from Dunst's suite.

Defense lawyer Mitchell Elman says his 33-year-old client "admitted being in the hotel." He says Beinerman has been ordered to undergo drug treatment.

Elman also says Beinerman faces sentencing Sept. 10 on a drug charge in Brooklyn.