A Democratic senator says she is working on two bills to strike down President Trump's executive order that temporarily bars immigration from seven Muslim-majority countries and refugees.

"Congress must take swift action in response to President Trump's discriminatory order," tweeted California Sen. Dianne Feinstein on Sunday.

Feinstein, the ranking member on the Judiciary Committee, said she is drafting the legislation that she will introduce Monday.

"The first bill immediately rescinds the order," Feinstein said. "The second limits executive authority under the Immigration and Nationality Act," an act that has been amended several times since it was created in 1952.

She added: "Under our bill, the president would not be able to unilaterally ban groups of immigrants."

Feinstein didn't offer any other details.

A slew of Democrats have made appearances at protests nationwide to oppose what they are calling a "Muslim ban" — a term that the Trump administration has pushed back against. The executive order has also become a cause for concern among some Republican lawmakers.

Sens. John McCain and Lindsey Graham said in a statement Sunday that the ban "will become a self-inflicted wound in the fight against terrorism." Another senator, Ben Sasse, of Nebraska, panned the executive order as being "too broad."

A federal judge in New York granted a temporary stay on the ban Saturday evening, which applies to travelers who have already arrived in the U.S. or those who are already travelling with valid visas. Similar legal rulings were reached in a handful of other states.