A Marriott employee in California allegedly amassed a large arsenal of weapons and tactical gear in hopes of carrying out a mass shooting at his workplace, authorities said Wednesday.

Rodolfo Montoya, 37, of Huntington Beach, was planning to take out his co-workers with high-powered firearms — including two assault rifles and a pump-action shotgun — which were found by officers during a search of his home.

A worker at the Marriott that Montoya was allegedly targeting, located in Long Beach, called police and told them that he had made a “verbal threat of violence” on Monday. Authorities investigated and wound up searching Montoya’s home the following day.

“Multiple firearms, hundreds of rounds of ammunition and tactical gear were seized, including high-capacity magazines and an assault rifle, which are illegal to possess in California,” said Long Beach Police officials in a press release Wednesday.

Montoya was charged with manufacturing and distributing assault weapons, possession of an assault weapon and making a criminal threat. He was being held on $500,000 bail at the Long Beach City Jail.

The hotel worker is one of more than 25 people who have been arrested over threats to commit a mass-casualty attack since the shootings in El Paso, Texas, and Dayton, Ohio.

“We have seen several tragic incidents that have resulted in many lives lost,” said LBPD Chief of Police Robert G. Luna in a statement. “The witnesses who came forward and the diligence of our employees involved in this investigation very likely prevented a threat of violence and saved many lives.”

The FBI has been scouring the country in search of mass shooting threats following repeated reports of copycats — attempting to “engage in similar acts of violence” — in recent weeks.

“The FBI asks the American public to report to law enforcement any suspicious activity that is observed either in person or online,” the agency said in a statement earlier this month.

Long Beach Mayor Robert Garcia told reporters at a press conference Wednesday that he felt the police department had worked to “avert what could have been a real tragedy.” LBPD officials agreed.

“Suspect Montoya had clear plans, intent and the means to carry out an act of violence that may have resulted in a mass casualty incident,” Luna said.

“We want to thank the hotel employee for bringing this information forward,” officials added in the department press release. “This incident is excellent example of the ‘See Something, Say Something’ philosophy and how critical it is to report suspicious activity to law enforcement.”