BISMARCK, N.D. (AP) — The North Dakota Senate has killed a measure that would allow any elected official to carry a hidden firearm in a government building or at a public gathering.

The Senate rejected the bill Thursday, after House overwhelmingly endorsed the bill earlier this month.

Sen. Kelly Armstrong says Senate and House negotiators could not agree on some provisions in the bill. He says the Senate wanted to limit elected officials only to those holding statewide office or legislators.

He says the Senate also wanted to exclude churches and schools from the bill.