A California hotel cook who was upset over a work-related human resources issue was arrested after he threatened a mass shooting and stored guns and ammunition at his home, police said.

Authorities said Rodolfo Montoya, 37, told a co-worker he was going to shoot fellow employees and guests at the Long Beach Marriott. The co-worker told the hotel's general manager who reported the matter to police.

Police arrested Montoya on Tuesday at his Huntington Beach home.

Multiple firearms, an assault rifle, tactical gear, dozens of high-capacity magazines and hundreds of bullets were seized from Montoya's home, police said.

Police Chief Robert Luna said 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 Montoya did not have a criminal history that would have prevented him from legally owning the guns.

Montoya was booked on charges including making a criminal threat. His bail was set at $500,000.

Church targeted:Trucker arrested days before he planned to 'shoot up' Memphis, Tennessee, church

Community center threatened:FBI: Ohio police arrest man connected to online shooting threat against Jewish community center

“In recent months, we have seen several tragic incidents that have resulted in many lives lost,” Luna said in a news release. “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.”

Montoya's arrest comes amid renewed cries for legislation to change the country's gun laws in the wake of mass shootings in California, Texas and Ohio.

Tips from the public have helped thwart alleged mass shooting plots and led to arrests across the country.

In Florida, a 16-year-old was arrested after several parents alerted officials that she threatened to shoot up a school, police say. The teen was reportedly upset over her little sister's noisy phone.

In Wisconsin, a man was charged with making terrorist threats and disorderly conduct after allegedly telling a co-worker he would shoot up their workplace at a Menards Distribution Center.

Contributing: The Associated Press