A Montgomery man was jailed Saturday accused of exposing himself outside the Alabama State Capitol building and throwing punches at a state trooper, according to court records.

Julian David Murphy, 60, was charged with disorderly conduct and public lewdness after the incident about 8 a.m.

According to an arrest affidavit written by the state trooper, Murphy approached the law enforcement official's vehicle while the state trooper was parked on the South Union Street side near the gift shop.

"The subject was talking out of his head and saying things that did not make sense," the state trooper wrote.

A woman who worked at the Capitol passed by and was about to enter the building when Murphy allegedly turned around to walk in the same direction as her.

"I exited my vehicle and asked the subject to move on," the trooper wrote.

Murphy allegedly became loud and cursed at the state trooper when asked to move on.

"At that time the subject gave me a thousand-yard stare and then took a swing at me," the law enforcement official wrote.

The trooper blocked his swing and backed away, he wrote.

Murphy then "dropped his pants with his back to me, put his finger in his rectum and then came at me swinging," the state trooper wrote.

"I removed my Taser and tased the subject one time. The subject then fell to the ground," the state trooper wrote in court records.

Montgomery police and medics were dispatched to the scene and the state trooper's on-call supervisor was also notified, according to court records.

Murphy was not injured, according to court records. He remained in the Montgomery County Detention Facility with a combined $600 bond for the two Class C misdemeanors.

Contact Montgomery Advertiser reporter Kirsten Fiscus at 334-318-1798 or KFiscus@gannett.com. Follow her on Twitter @KDFiscus