Sheriff Doug Gillespie of the Las Vegas Metropolitan Police Department says officers Alyn Beck, 42, and Igor Soldo, 32, have died after being ambushed inside a local restaurant.

More from FoxNews.com:

Two Las Vegas police officers and one civilian were shot and killed Sunday when a gun-toting duo went on a killing spree before shooting one another dead in an apparent suicide pact, authorities say.

Las Vegas police spokesman Larry Hadfield told The Associated Press that the shooting spree began around 11:30 a.m. Sunday when a man and woman walked into CiCi's Pizza restaurant on North Nellis Boulevard and ambushed two officers who were eating lunch.

Sheriff Doug Gillespie identified the two officers as Alyn Beck, 42, and Igor Soldo, 32. He said one of the officers was able to fire back at the suspects.

The suspects then grabbed the officers' weapons and ammunition and stormed out of the pizzeria, Assistant Sheriff Kevin McMahill told KVVU Fox 5.

The duo fled to the Walmart across the street, where they shot and killed a person at the front door and then killed themselves in an apparent suicide pact, Hadfield said. Police and a SWAT team were dispatched to the scene, KVVU Fox 5 reports.

Clark County Assistant Sheriff Kevin McMahill said at a news conference that the male suspect yelled "everyone get out" before shooting at Walmart. The man and woman then went to the back of the store.

Hadfield said one of the suspects yelled, "This is a revolution," but the motive for the shooting remains under investigation.

"I think in any case where people are ambushed and shot it's upsetting to the public," Hadfield told The Associated Press. "We don't know anything about the suspects yet and are trying to learn more."

Gillespie said the events mark a “tragic” and “very difficult” day for the department.  He added that both officers have young families.

"Today is a tragic day for the Las Vegas Metropolitan Police Department and our entire community, Rep. Dina Titus, D-Nevada, said in a statement. “My thoughts and prayers are with all those affected by today's senseless shooting, especially the family and friends of the victims. I have offered my assistance to Sheriff Douglas Gillespie and will continue to be in close contact with the Las Vegas Police Department as the situation develops."

The restaurant and Walmart remained closed as detectives processed evidence.

Walmart issued a statement saying it's working with police on the investigation.

"We express our deepest condolences to everyone who has been affected by this senseless act of violence," company spokesman Brooke Buchanan said.

Click for more from KVVU Fox 5.

The Associated Press contributed to this report.