A family found a man and woman hiding in the closet of a newly purchased home and shot the man Sunday, police said.

The homeowners were in the process of cleaning their new residence near 35th and Dunlap avenues when they discovered an adult man and an adult woman hiding in a closet.

A relative of the homeowners was startled and shot the adult man, who was transported to a hospital with non-life threatening injuries.

The relative is cooperating with police and the investigation is ongoing, police said.

This is a developing story. Check azcentral.com for updates.

Reach the reporter at James.Carr@arizonarepublic.com or on Twitter @JamestheCarr.