It was the second time deputies had gone to the apartment Sunday.
"If it's who we believe it is-we know that he's had law enforcement contact on a number of occasions", Spurlock said.
The gunman continued to fire as additional officers arrived at the complex.
Parrish is survived by his wife and two "very young" children. He was hit multiple times.' .
The murdered deputy was identified as 29-year-old father of two, Zackari Parrish, who was only with the force for seven months.
The sheriff did not release any details about the weapons and ammunition used except to say the suspect had a rifle. "When I sat with his wife, and held her hand, I could see in her eyes her life is over", Spurlock told reporters, asking for people's "prayers".
"Zack was a good kid, a smiley kid", Spurlock said.
The other two people shot were civilians in a separate apartment to the gunman, who was shot dead at the scene. According to authorities, he had no criminal record.
The police then reached the spot and found ammunition "lying around the man's hotel room".
UEFA names Team of the Year 2017
From the best transfer video campaign to the worst miss of year, we look back on the cream of the crop from social media in 2017. Players from the Spanish league dominated the final XI, with a total of six making the team .
In July, Riehl attended an eight-hour firearms course in Colorado Springs, Colorado, taught by Kenaz Tactical Group, the company said. "He didn't show any signs of being violent or unstable", Butler said. The email included a photo of Riehl and his auto.
Riehl's Facebook page was filled with images associated with the alt-right.
In a November 6 email from the assistant College of Law dean, he told students to notify campus police if they saw Riehl or his vehicle near campus.
The shootings occurred after deputies responded to a call at about 5:15 a.m.to what they thought was a domestic problem at the Copper Canyon Apartment complex, but which turned out to be a disturbance unrelated to any domestic dispute.
Police were called to Riehl's apartment Sunday for a dispute between Riehl and someone else at the apartment building. When they reached Riehl's bedroom and tried to talk to him, Riehl opened fire.
It was not clear in which order the men were shot.
"During the Investigation, shots were fired and multiple deputies were injured". Five sheriff's deputies and two civilians were shot in what the Douglas County Sheriff's Office called an "ambush" style attack.