PORTLAND, Ore. (AP) — The Oregon Senate has voted in favor of a contentious bill that would ban guns from the Capitol and other state buildings, as well as allow jurisdictions to decide whether people with concealed handgun license can bring guns into a public building.

Despite four hours of discussion and overwhelming opposition by gun owners and Republicans, the bill passed, 16-7, on Thursday and will be move to the House.

Republicans in the House will likely echo the remarks of those in the Senate, where tensions have risen as the Legislature debates several-gun control measures introduced this year.

State Sen. Ginny Burdick, the chief sponsor of the bill, said bringing guns into public places in intimidating and unsafe.

Herman Baertschiger, a former state senator and currently the vice chairman of the Oregon GOP, said the bill is a direct attack on the 2nd Amendment.

“It has nothing to do with making Oregon safer,” he said in a statement. “Now this bill is going to the Oregon House of Representatives where we will be working with our Republicans to stop this egregious legislation.”

KOIN 6 News contributed to this report