A Texas homeowner fought with and disarmed a man who attempted to invade his home last week.

Longview police said a suspect, later identified Kevin Mitchell Gonzales, 28, attempted to enter the garage of a residence on Monday night, KLTV reported.

Police say that about 10:56 p.m., officers were dispatched to a home in the 800 block of Spring Street.

When they arrived, the victim told them that a suspect, later identified as Kevin Mitchell Gonzales, 28, of Longview, attempted to enter the garage without permission.

The homeowner and Gonzales began to fight and Gonzales pulled out a handgun. During the struggle, Gonzales fired one round from a .45 caliber pistol.

The homeowner was able to get the gun away from Gonzales and hold him down until police arrived.

During the arrest, officers located 18 Lorazepam pills in a clear plastic bag in Gonzales’ pants pocket.

He is charged with criminal trespass with a deadly weapon and possession of a controlled substance. He was transported to the Gregg County Jail without incident.

Local law enforcement have determined the intruder to be an illegal alien, who was using one of his many false identities at the time of his arrest.

Although the homeowner was uninjured, Gonzales’ face was bloodied, bruised and swollen in his mugshot at Gregg County Jail. Police found 18 pills of lorazepam, which is typically used to treat anxiety, in a plastic bag on his person, KLTV reported.

Gonzales was charged with Criminal Trespass with a Deadly Weapon and Possession of a Controlled Substance. It is unclear when he will be arraigned or if he had any connection to his victim.