A man from Virginia who D.C. police said burglarized a hotel, a restaurant, the front desk of an apartment building and other Northwest Washington businesses has been arrested.

Police said their investigation was helped when the man broke into the Bentley luxury apartments near Thomas Circle and at 3 a.m. signed on to his own Twitter account from a computer on the concierge desk.

Authorities said they linked Thomas Matthew Collodel, 33, of McLean to burglaries at the Bentley, the Iron Gate restaurant, a Homewood Suites hotel and two businesses. All are located near Thomas and Scott Circles. The burglaries occurred between Dec. 30 and Jan. 24.

Collodel has been charged with five counts of burglary and was ordered detained until a preliminary hearing in D.C. Superior Court on Thursday.

Police said Collodel was arrested Saturday during what court documents describe as a violent struggle that left two District officers injured. Collodel was taken to Howard University Hospital, though his injuries were not detailed. Collodel also was charged with assault on a police officer.

D.C. Police said a McClean man burglarized the Iron Gate restaurant on Jan. 21. (Andre Chung/For The Washington Post)

On Monday, police said in an affidavit that Collodel damaged a hospital bathroom and destroyed metal railings and water pipes, flooding the room.

The first burglary that police have linked to the spree occurred Dec. 30 at the Bentley, in the 1300 block of 14th Street NW. Police said a drawer behind the concierge desk had been tampered with, and surveillance video showed a man using the computer. Police said Collodel’s Twitter account had been accessed, which showed pictures matching the person seen on the video.

On Jan. 7, police said, Collodel broke into the Homewood Suites in the 1400 block of Massachusetts Ave. NW. The arrest affidavit does not say what was taken.

Police said that on Jan. 21, Collodel broke into the Iron Gate restaurant, in the 1700 block of N Street NW, which was closed at the time. Police said the burglar stacked two beer kegs to climb a brick wall to enter a patio. A chair was then used to get into the bar. Police said an iPod was taken.

Three days later, on Jan. 24, police said Collodel broke into a business in the 1500 block of M Street NW. Police said he got into a garage and tried to open the doors of parked cars. Nothing was taken, but the man left behind a black jacket that, the affidavit says, is the same one worn during the burglary at the Iron Gate, as seen on a surveillance video.

Police said another burglary occurred Jan. 24 at a business in the 1300 block of Massachusetts Avenue.

Keith L. Alexander contributed to this report.