A machete-wielding homeowner in Texas seriously injured a suspect who attempted to break into his home early Wednesday, authorities said. 

El Paso police said the homeowner awakened around 4:15 a.m. to the sound of glass breaking. He walked outside and found a man holding a metal rod breaking the front windows of his house, police said. 

"Armed with a machete, the homeowner told the man to leave, but a confrontation ensued and the homeowner struck the intruder in the face with the machete," according to the department

GEORGIA MAN STEALS MORTUARY VAN, DEAD BY ROLLS OUT AHEAD OF POLICE CHASE

Man holding machete (Stock)

The suspect, identified as Carlos Esteban Villaescusa, 22, ran from responding police officers but was arrested after jumping into a neighbor's backyard. 

TEXAS HOMEOWNER'S DOG BITES BURGLAR DURING ATTEMPTED BREAK-IN, SUSPECT ARRESTED: POLICE

Police said he also trespassed into a second home on the same block and broke the front window of another home. 

Villaescusa was hospitalized with serious injuries suffered during the confrontation with the homeowner. 

He will be booked into the El Paso County Detention Facility following his release from a hospital.

CLICK HERE TO GET THE FOX NEWS APP

Villaescusa faces charges of burglary of a habitation, evading arrest or detention, criminal mischief, and criminal trespass, police said.