Gunman in Colo. murder-suicide had been released hours before murder-suicide that left 4 dead

Neighborhood residents talk amid crime-scene tape at the scene of an apparent murder-suicide, which officials say left four dead inside a home, according to officials, in Longmont, Colo., Tuesday Dec. 18, 2012. Weld County sheriff’s spokesman Tim Schwartz says dispatchers heard the woman who called 911 scream “No, no, no,” and then they heard a gunshot. Schwartz says a man grabbed the phone and said he was going to kill himself, and dispatchers heard another shot. (AP Photo/Brennan Linsley) (The Associated Press)

A police officer works at the scene of an apparent murder-suicide, which officials say left four dead inside a home, according to officials, in Longmont, Colo., Tuesday Dec. 18, 2012. Weld County sheriff’s spokesman Tim Schwartz says dispatchers heard the woman who called 911 scream “No, no, no,” and then they heard a gunshot. Schwartz says a man grabbed the phone and said he was going to kill himself, and dispatchers heard another shot. (AP Photo/Brennan Linsley) (The Associated Press)

Police investigators work at the scene of an apparent murder-suicide, which officials say left four dead inside a home, according to officials, in Longmont, Colo., Tuesday Dec. 18, 2012. Weld County sheriff’s spokesman Tim Schwartz says dispatchers heard the woman who called 911 scream “No, no, no,” and then they heard a gunshot. Schwartz says a man grabbed the phone and said he was going to kill himself, and dispatchers heard another shot. (AP Photo/Brennan Linsley) (The Associated Press)

Investigators were unable to immediately determine when a gunman purchased a gun used to kill three people, including his ex-girlfriend, who was on the phone with a 911 dispatcher when she was killed.

Authorities say the gunman had just been released from jail on domestic violence charges before he shot and killed three people Tuesday and himself. Investigators searching the gunman's home found the original box the handgun had been sold in, but they did not find a receipt, and it was unclear when he bought it.

All were found dead in a home in unincorporated Weld County outside Longmont, about 35 miles north of Denver.

The gunman was identified as 31-year-old Daniel Sanchez.