25 states including Montana want the U.S. Supreme Court to overturn a circuit court decision upholding gun restrictions in San Francisco.

State Attorney General Tim Fox said the state has joined with other states in an amicus, or friend of the court brief, challenging a court decision in California.

"San Francisco passed an ordinance that required its citizens to keep their handguns either in a locked container, or put a trigger lock on their guns, which requires the bullets to be removed," Fox said. "They have to do that whether the owner is carrying the weapon or not."

Fox said the U.S. Supreme Court has decided several cases that have set precedents in these matters.

"There's very solid established law in cases such as the McDonald v Chicago case and the District of Columbia v Heller case that say clearly that citizens have to be able to use handguns for the core lawful purpose of self defense in their homes and elsewhere," he said.

The attorneys general from the following states are participating: Alabama, Alaska, Arizona, Arkansas, Florida, Georgia, Idaho, Indiana, Kansas, Kentucky, Louisiana, Michigan, Minnesota, Missouri, Montana, Nebraska, North Dakota, Oklahoma, South Carolina, South Dakota, Texas, Utah, West Virginia ,Wisconsin, and Wyoming.

Fox said he believes the court will consider this case during its present term.