The man who fired a gun into the air outside of the Texas Capitol, has reached a plea agreement with authorities.

25-year-old Fausto Cardenas pleaded guilty Monday morning to carrying a weapon onto prohibited property.

Cardenas stood on the steps of the Texas Capitol on January 21st, 2010, and shot a pistol into the air multiple times, before being tackled by nearby State Troopers. The incident prompted around $3 million in security upgrades for the Capitol. No one was injured.

Prior to the shooting, Cardenas went into the office of State Senator Dan Patrick. The Houston-area senator was not in his office on that day.

Cardenas originally faced charges of making a terroristic threat, but was scaled down in a deal made prior to selecting the jury for the trial. The agreement is for 180 days in jail, counting the 18 months already served, and Cardenas will receive 5 years probation.

Formal sentencing is scheduled for September 8th.