A new law will require people representing certain foreign nations or political organizations to register with the state.