LOS ANGELES (CBSLA.com) — A man was shot and killed Wednesday by a CHP officer at the Ronald Reagan State Building in downtown Los Angeles

The shooting, which happened at South Spring Street and 3rd Street, involved an officer from the California Highway Patrol, the law enforcement agency that protects state buildings.

READ MORE: Forecasters Expect Moderate To Heavy Rains Sunday and Monday

CHP officials said the 42-year-old man followed an employee through the front door at about 6:10 a.m. When he approached the security checkpoint, he raised his covered hands in an “aggressive shooting stance” and began barking orders at people inside. He had an aluminum can in a paper bag but the reason he was threatening was because he was holding it as if it was a gun.

As some people got on the ground, a CHP officer who was in the building confronted the man and fired three shots at him. He was pronounced dead at the scene by the Los Angeles Fire Department.

READ MORE: Williams leads No. 13 Notre Dame past USC, 31-16; Fighting Irish Record 50th Victory Over Trojans

No one else in the building was hurt.

Two blocks of Spring Street west of 3rd were closed to traffic for the investigation, with assistance from Los Angeles police.

MORE NEWS: Vanessa Bryant Learned Of Kobe, Gianna's Death Hours After Helicopter Crash; Asked LA County Sheriff To Make Sure No Photos Were Taken

The building houses offices for the governor, state Sen. Darrell Steinberg, the state Attorney General Library and the California Department of Insurance.