A New Jersey Senator, along with others, introduced a bill on Jan. 5 to protect against religious discrimination in regards to comments made by President Donald Trump.

“The Protect American Families Act of 2017 … prohibits the federal government from creating, or Congress from funding, any law enforcement or … program that would require people to register or check in on the basis of religion, race, age, gender, ethnicity, national origin, nationality or citizenship,” according to The Baptist Joint Committee for Religious Liberty .

The law comes as a response to comments Donald Trump made during his campaign in regards to banning Muslims entry into the United States.

Although immigrants cannot be forced to share information about their religion, data can lawfully be collected for any Federal program that collects and compiles data about aliens entering or exiting the United States, according to The Protect American Families Act of 2017.

“Religious freedom and freedom from discrimination are fundamental rights central to the very idea of being an American … Our legislation would block Donald Trump and subsequent administrations from infringing on religious liberty,” stated a press release from Senator Cory Booker’s (D-NJ) office.