The suspect alleged to have shot three northern California sheriff's deputies Friday, killing two, was deported twice and has a criminal record, federal officials said late Saturday. 

A U.S. Immigration and Customs Enforcement spokeswoman said that the fingerprints of the suspected shooter match those of a man named Luis Enrique Monroy-Bracamonte. Monroy-Bracamonte was initially deported to Mexico in 1997 after being convicted of drug possession in Arizona. Four years later, he was arrested and deported again for an unspecified offense. 

"The fingerprints were the basis for our request for an immigration detainer," ICE spokeswoman Virginia Kice told The Associated Press. The detainer requests that local authorities transfer him to federal custody after his case is adjudicated so ICE can purse his deportation, Kice said.

The suspect initially identified himself as Marcelo Marquez, 34, of Salt Lake City. He is charged with two counts each of murder, attempted murder and carjacking. The suspect's wife, Janelle Marquez-Monroy, was also arrested Friday and charged with carjacking and attempted murder. 

Investigators spent Saturday at the multiple crime scenes "trying to kind of sort through the chaos so we can methodically rebuild this," Placer County Sheriff Ed Bonner said.

More On This...

The shootings began when Sacramento County sheriff's Deputy Danny Oliver, 47, was shot in the forehead with an assault rifle at close range as he checked out a suspicious car in a motel parking lot.

The suspects have talked to investigators, Bonner said, but what sparked the shootings remained unclear.

"'Why,' I guess, will remain a question for a long time," he said. "Why was his reaction so violent?"

It was also unclear what brought the heavily armed suspects from Utah to California, Bonner said. There were no indications they had been sought by authorities.

No attorneys were listed for either suspect in jail records.

Krista Sorenson of Salt Lake City was confounded by the arrest of the Marquez. He and his brother had mowed her lawn about four years ago.

"They were just super nice, decent hard-working, trying to figure out how to make a living," she said.

Oliver, a 15-year veteran of the department, left a wife and two daughters. After he was killed, the gunman shot Anthony Holmes, 38, of Sacramento at least twice, including once in the head, during an attempted carjacking. He was in fair condition.

The attackers then stole a pickup truck and fled about 30 miles northeast into neighboring Placer County.

Two deputies who approached the pickup while it was parked alongside a road were shot with an AR-15-type assault weapon and never had a chance to return fire, Erwin said. The gunman fled into a neighborhood near a high school and ran into a home. Police used tear gas to force him to surrender.

Homicide Detective Michael David Davis Jr., 42, died at a hospital 26 years to the day after his father, for whom he was named, died in the line of duty as a Riverside County deputy.

Deputy Jeff Davis was treated for a gunshot wound to the arm. The two deputies are not related.

The gunman fled into a neighborhood near a high school and ran into a home. Police used tear gas to force him to surrender.

Several dozen law enforcement vehicles, with lights silently flashing, escorted a hearse carrying Michael Davis' flag-draped casket to a funeral home as bystanders and law enforcement officials hugged, saluted and wiped away tears.

"It's a nightmare for all of us," Bonner said.

He recalled Davis as a well-liked investigator who once took it upon himself to organize a funeral for an abandoned baby.

"He saw it, his heart ached, and he did something about it," Bonner said. "That's who he was."

Davis' wife works as an evidence technician for the department and his brother is a sergeant.

"Mike was quite a character," Erwin said. "He was very funny. He didn't take things very seriously, maybe because he was a homicide detective for so long."

A search of Utah court records under Marcelo Marquez's name shows a history of about 10 tickets and misdemeanor traffic offenses between 2003 and 2009. Those records list one speeding ticket for Monroy in 2009 and three small claims filings attempting to collect outstanding debts.

The Associated Press contributed to this report.