Three would-be robbers were shot and killed Monday after being confronted in a Texas home by a teen with a shotgun, according to reports.

“There are three males deceased inside the home right now,” Harris County Sheriff Ed Gonzalez said, according to KHOU-TV. “It appeared they were committing some type of home invasion or attempted burglary inside the residence.”

CALIFORNIA VETERAN SHOOTS ROBBERY SUSPECT WHO PISTOL-WHIPPED HIM AT MARKET

Gonzalez added, “We’re going to have a lengthy follow-up investigation out here at the scene. Having three dead bodies inside a home is something that is not very common.”

The owner of the getaway vehicle lived around the corner in Channelview, Fox 26 Houston reported. It was unclear if he was one of those killed.

CALIFORNIA SHOP OWNER FATALLY SHOOTS MASKED ROBBERS, 3RD SUSPECT ON THE RUN

The Houston Chronicle identified the teen with the shotgun as 19-year-old Yair Gallegos.

He was injured and his family was worried about a gunshot wound to his spine, the paper reported.

CLICK HERE TO GET THE FOX NEWS APP

“Most people would agree with me in that this was a matter of survival,” Gallegos’ stepfather Luis Perez told the paper. “It was those guys who enter the house, or my son.”