Two California Democrats filed legislation Thursday that would give undocumented immigrant farmworkers and their families a path to legal resident status and possibly U.S. citizenship.

The legislation by Sen. Dianne Feinstein and Rep. Zoe Lofgren is designed to ease agricultural worker shortages and protect undocumented workers already in the United States from deportation. The bills come as the nation grapples with an extended partial government shutdown fueled by an impasse between President Donald Trump and congressional Democrats over funding for a border wall and broader differences over immigration policies.

The companion Senate and House bills revive proposals by Feinstein in prior Congresses to allow immigrant farmworkers to apply for so-called blue cards from the Department of Homeland Security, which would provide temporary legal status for those who qualify. Applicants would have to undergo background checks, have no criminal records, and pay federal taxes, immigration processing fees and $100 penalty fee to DHS.

The department could begin to adjust blue card workers to lawful permanent residence five years after the law takes effect. Eligible workers would have to have performed either 100 days of agricultural work each year for five years or 150 days of such work each year for three years.

Also watch: Chaos in the House, Hamilton and Senate Judiciary is all about Bill Barr’s grandson — Congressional Hits and Misses