That moment of his arrest, two days after he allegedly shot and killed Newman Police Corporal Ronil "Ron" Singh, was the result of hundreds of tips and the product of collaboration between several law enforcement agencies.
RELATED: Gustavo Perez Arriaga, the man accused of shooting, killing Newman Police Corporal Ronil 'Ron' Singh captured
On Thursday afternoon, Donny Youngblood, the sheriff of Kern County, received an urgent text from Stanislaus County's sheriff, saying they had information that 33-year-old Arriaga was likely somewhere between the two counties, and was believed to be on his way to Mexico, where he's from.
Kern County teams then started sending surveillance teams to different communities in the county.
"We had teams that were monitoring (residences in several different places) as information developed. Ultimately, authorities zeroed in on the home near LaMont," Youngblood said.
VIDEO: Brother of fallen Newman Cpl. Ron Singh tearfully thanks law enforcement after suspect Gustavo Perez Arriaga arrested
LaMont is a town in Kern County, about 200 miles from where Corporal Singh was killed.
Authorities had been watching the house in LaMont for at least 24 hours.
Early Friday morning, SWAT deputies geared up to serve a search warrant. They had just made a perimeter around the house when Arriaga, came out and surrendered.
Several other people were inside at the time, including children and three adults. All the adults were arrested for aiding and abetting Arriaga.
It's unclear where the children are now, but the sheriff's office said if there is not a caretaker available, they will go into protective custody.
"When you use a firearm against a police officer, you can run but you can't hide. This really proves the relationship that we have not only in this county, with my partners that are standing behind me, but throughout the state, that we're committed to providing public safety," said Sheriff Youngblood.
Youngblood said a variety of different agencies were involved in this effort to arrest an accused cop killer, including the FBI, HSI, ATF, Stanislaus County, and of course Newman Police.
A neighbor, Twila McCullar, saw the SWAT vehicles when she got up and later, noticed her back fence was broken.
VIDEO: 'Please remember the man': Police chief gives emotional statement, calling slain Newman Cpl. Ronil Singh an 'American patriot'
Her property sits behind the home where Arriaga was arrested.
"The detective was back there and he come over and talked to me and told me what they had to do. Cause I asked him, I said, why did you have to go tear up my fence to get in here? And he said well, we didn't want him to escape out their back door," she said.
Another neighbor, Juanita Reyes, said, "You just saw the SWAT tanks knocking down fences and it was hectic, it was something out of a wild movie."
Arriaga was brought back to the Stanislaus County Sheriff's Department on Friday afternoon. He was reportedly wearing Corporal Ronil Singh's handcuffs on the way there.
Take a look at the latest stories, videos and updates on the shooting death of Corporal Ronil Singh.