A homeowner shot two men whom the Tucson Police Department said attempted to break into the home early Wednesday.

The incident happened around 3:45 a.m. on Oct. 16, when officers responded to a 911 call reporting gunshots at a home near East Duncan and North Swan Road in midtown Tucson.

According to Tucson police spokesman Officer Frank Magos, two adult males were found with obvious gunshot trauma behind the home.

Magos said one of the men was pronounced dead at the scene, and the other was taken to Banner University Medical Center in Tucson with life-threatening injuries, where he later died. The identities of the two men have not been released by police.

Upon further investigation, detectives learned the homeowner was asleep inside the home when she was woken up from noise coming from the back of the residence, Magos said. She then went to investigate and found two men trying to force their way into her home.

"She confronted them, she armed herself with a firearm and shots were fired and that info was relayed to us by 911," Magos said.

Detectives are executing a search warrant on the home, according to Magos, and the investigation is ongoing.

Breaking News Reporter Gabriella Khalaj can be reached at Gabriella.Khalaj@arizonarepublic.com and follow her on Twitter at @gabriellakhalaj.