Democratic lawmakers are pushing new legislation that would rescind President Donald Trump’s Muslim ban and prevent future immigration bans based on religion.

On Wednesday, Sen. Chris Coons (D-Del.) and Rep. Judy Chu (D-Calif.) introduced companion bills in the Senate and House that aim to override Trump’s executive order barring travel to the U.S. by people from several Muslim-majority countries.

The National Origin-Based Antidiscrimination for Nonimmigrants Act ― or No Ban Act ― seeks to change the Immigration and Nationality Act to explicitly prohibit discrimination based on religion in the granting of visas, immigration benefits and related matters, per a summary of the bill. It would require any president to consult with the secretaries of state and homeland security before restricting entry to the country. And it would mandate that any such restrictions be based on “credible facts” laying out “specific acts” that could undermine national security, human rights, democracy or international stability.

“Trump’s Muslim ban is unAmerican,” Chu tweeted. “[Coons] and I are introducing our No Ban Act today to not only repeal Trump’s hateful ban but also prevent any future president from issuing a ban based on religion or nationality.”

Coons called the ban “a stain on America’s reputation” that is “hurting real people.”

Multiple versions of the travel ban, which Trump first issued by executive order in January 2017, have been challenged in the courts. It was criticized as unconstitutional and discriminatory toward Muslims, since most of the countries in question were Muslim-majority. From the start, it was also met with public protests.

The Supreme Court ultimately upheld the current ban last year. The final iteration restricted immigration from several Muslim-majority countries, including Yemen, Iran and Syria, and barred certain citizens from North Korea and Venezuela from entering the U.S.