Police in northern California arrested a 37-year-old man who was looking to commit a "Las Vegas-style" mass shooting, as well as made threats to kill officers.

Dallas Marsh was arrested Sunday around 8:50 a.m. local time by a SWAT team at a Super 8 motel in Chico, a city located about 175 miles northeast of San Francisco. He was booked on a no-bail felony arrest warrant for criminal threats of death and great bodily injury.

"Detectives with the Chico Police Department's Violence Suppression Unit obtained evidence of Marsh's intent to commit these acts," according to a press release.

Marsh has been found to have made "criminal threats to kill specific individuals, specified law enforcement officers, and was preparing to commit a 'Las Vegas style' mass shooting with a specified deadline," read the press release.

Marsh was also charged with battery on a peace officer and threats of violence against peace officers. Marsh had allegedly threatened "additional officers and their families," and "battered an officer with a table during the interview process," after he was arrested.

On Oct. 1, 2017, a gunman opened fire at a country music festival that was held at the Mandalay Bay hotel grounds in Las Vegas.

The gunman shot through a window of the hotel for 10 minutes in one of the deadliest mass shooting in U.S. history. Fifty-eight people were killed and 800 were injured.