The fatal shooting of a man inside an Apple Valley home by the homeowner is still under investigation, but after being interviewed by detectives, the homeowner is not being held Wednesday, according to the San Bernardino County Sheriff's Department.

The shooting occurred shortly after 1:30 a.m. inside a ranch-style house in the 16700 block of Pauhaska Road.

The deceased was an intruder shot during a home invasion, one neighbor said she was told by a deputy.

But as of Wednesday evening, investigators had yet to determine exactly what happened, said Sheriff's spokesperson Cindy Bachman.

The dead man has yet to be positively identified. Investigators are trying to determine "if there was any sort of relationship between the deceased and the homeowner," Bachman said. "They don't want to release any details until they have confirmed information."

The house remained an active investigation scene Wednesday evening.

The homeowner was not identified and could not be reached for comment.