PHOENIX (3TV/CBS 5)-- Police are investigating two crime scenes that left at least four people dead and two others shot on the west side of Phoenix Thursday night. 

[PD: West Phoenix shooting leaves 2 hurt and 1 dead, police say]

One of the shootings happened just after 8 p.m. at an apartment complex near 67th Avenue and Indian School Road.

Police officers were in the area when they heard the shots fired.

Police said when officers searched the apartments, they found three victims. A 46-year-old man, who was pronounced dead at the scene, a 47-year-old woman, who was in critical condition and a man was also suffering from a gunshot injury. Police added the third victim only suffered non-life-threatening injuries.

The second scene was at a home near 71st Avenue and Camelback Road.

That's where Phoenix police responded to a welfare check. Officers found three people dead inside the home. The victims include the suspect's 29-year-old wife and his two daughters, ages 5 and 7. Police then found the suspect's 3-year-old daughter hiding under the bed.

After police took the suspect into custody, he admitted to the shootings.

According to police, the suspect said the reason he shot six people because under his religious beliefs "It was alright to deal with someone in this matter."