LAS VEGAS — A man and a woman who ambushed and fatally shot two police officers eating lunch at a Las Vegas restaurant and killed a third person at a Wal-Mart store before taking their own lives may have had political and racial motivations, according to police.

A search of the shooters’ apartment turned up swastikas and other paraphernalia that has police looking into possible links to the white supremacy movement, according to the Las Vegas Review Journal.

The shooters walked into CiCi’s Pizza and gunned down Officers Alyn Beck, 41, and Igor Soldo, 31, Las Vegas police officials said. One of the officers was able to fire back before he died, but it’s unclear if he hit the suspects, Sheriff Doug Gillespie of the Las Vegas Metro Police Department said at a news conference Sunday afternoon.

One of the shooters yelled, “This is a revolution.” The man reportedly told a neighbor that he had been kicked off the ranch of Cliven Bundy while supporters were gathered there to protest the roundup of his cattle by the US Bureau of Land Management for illegal grazing.

Among Bundy’s supporters were a number of domestic militia groups.

After shooting the officers, the suspects fled to the Wal-Mart across the street, where they killed a person inside the front door and exchanged gunfire with police before killing themselves, police said.

The female suspect shot the male suspect before killing herself, Gillespie said. The victim’s identity hasn’t been confirmed, and the suspects’ names haven’t been released.

Both officers were pronounced dead at University Medical Center. Beck had been with the department since 2001 and leaves behind a wife and three children. Soldo had been with the force since 2006 and is survived by a wife and baby, police said.

Pauline Pacheco was shopping at Wal-Mart when she saw the armed man and grabbed her father to escape, KLAS-TV reported.

“We saw when the man was walking, he was shouting, yelling bad words, and suddenly he had a gun,” she told the station. “It was terrible, it was terrible. That man was crazy.”

Assistant Sheriff Kevin McMahill said the male suspect yelled “everyone get out” before shooting at Wal-Mart. The suspects then walked to the back of the store.

Governor Brian Sandoval said in a statement he was devastated by the murders of the two officers and an innocent bystander in an “act of senseless violence.”

In a statement, Las Vegas Mayor Carolyn Goodman called the killings a “cruel act” and praised the officers for dedicating “their lives to protecting all of us in our community.”

Wal-Mart expressed its condolences in a statement and that the company is working with police on the investigation. Cici’s Pizza said in a statement the company was deeply saddened by the shooting and would keep the location closed until further notice.

Sunday’s killings come less than a year after the Las Vegas police department’s most recent on-duty death. Officer David VanBuskirk died while rescuing a stranded hiker by helicopter on July 22, 2013.