Law enforcement officers patrol the entrance of the Pentagon after a report of an active shooter and lockdown in Washington, DC on August 3, 2021. - The Pentagon was on lockdown after a shooting at a subway station just outside the secure US military headquarters. Employees in the US Defense Department headquarters in the Arlington suburb of Washington were ordered to shelter in place amid reports of several gunshots and injuries in the station, the entrance of which is just a few dozen yards (meters) from the building's main doors. (Photo by Olivier DOULIERY / AFP) (Photo by OLIVIER DOULIERY/AFP via Getty Images)
CNN  — 

The suspect in the violent attack outside the Pentagon on Tuesday that resulted in a death of a Pentagon police officer has been identified as 27-year-old Austin William Lanz of Georgia, according to a law enforcement official and Lanz’s former attorney Lisa Wells. Lanz died from injuries sustained in the attack, Wells told CNN.

A senior defense official told CNN that the officer, George Gonzalez, was stabbed by the assailant and that other officers responded rapidly and shot the suspect.

The FBI’s Washington field office confirmed Lanz as the suspect on Twitter Wednesday and said that he died by suicide using the service weapon of the Pentagon Force Protection Agency officer he had fatally wounded.

According to the FBI’s tweet, Lanz “exited a bus at the Pentagon Transit Center” and “immediately, without provocation, attacked” Gonzalez with a knife.

The FBI continued, tweeting that a “struggle ensued, in which the subject mortally wounded Officer Gonzalez and then shot himself with the officer’s service weapon. Other PFPA officers engaged the subject, who ultimately died at the scene.”

Lanz briefly enlisted with the US Marine Corps in 2012 but never earned the title of Marine, according to Maj. Jim Stenger, Marine Corps spokesperson.

“Our sincerest condolences are with the family of the officer who was killed,” Stenger said in a statement to CNN. “We can confirm Austin W. Lanz enlisted in the Marine Corps on October 9, 2012 but was administratively separated on November 2, 2012 and never earned the title Marine.”

Stenger referred all questions related to the investigation into the August 3 attack to the Federal Bureau of Investigation’s Washington Field Office Public Affairs.

Cobb County Magsitrate Court records show that on April 24 of this year, Lanz was arrested on a number of charges including criminal trespassing, burglarly, two counts of aggravated battery on a police officer, terroristic threats, rioting in a penal institution, and obstructing or hindering law enforcement.

Lanz was released on a $30,000 bond on May 12 and required to undergo a mental health and substance abuse evaluation within 30 days. The terms of his bail also required him to enroll in any treatment within 15 days of its recommendation.

He was also required not to possess any firearms.

Lanz had not yet been indicted on the charges because the case was transferred to Cobb County Superior Court. Court records show that two charges – rioting in a penal institution and terroristic threats – were dismissed because “probable cause does not exist.”

This story ihas been updated with additional reporting.

CNN’s Barbara Starr and Jamie Crawford contributed to this report.