Concealed weapons have been banned from school and college campuses in California according to a new law signed by the governor, just days after a gunman in Oregon opened fire and killed nine.

The new law would require those with concealed-weapon permits to get permission from campus authorities before bringing them in.

The law would "close a loophole" in the state's Gun Free Schools Act, according to state Sen. Lois Wolk, who introduced the legislation.

The bill was sponsored by the California Police Chiefs Association and the Peace Officers Research Association of California, as well as University of California and California State Universities.

The bill was introduced by Wolk in February, but was signed into law Saturday as the national debate on gun control ramped up once more after another school shooting.