WASHINGTON -- Calls are mounting on Capitol Hill for the Trump administration to end the separation of families at the southern border ahead of a visit from President Donald Trump to discuss legislation.
TAKE ACTION: Get help with your rights to justice, equality and civil liberties
Trump's meeting late Tuesday afternoon with House Republicans comes at a time when lawmakers in both parties are up in arms over the administration's "zero tolerance" approach to illegal border crossings.
RELATED: Facebook fundraiser to reunite immigrant parents with their children
Under the policy, all unlawful crossings are referred for prosecution -- a process that moves adults to the custody of the U.S. Marshals Service and sends many children to facilities run by the Department of Health and Human Services. Under the previous administration, such families were usually referred for civil deportation proceedings, not requiring separation.
Nearly 2,000 children were separated from their families over a six-week period in April and May.
RELATED: Everything you need to know about immigrant family separation
The fight is erupting at a time when the House was already embroiled in an election-year struggle over immigration legislation that threatens to depress voter turnout in November.
Democrats have seized on the family separation issue, swarming detention centers in Texas to highlight the policy. They are demanding that the administration act to keep migrant families together. Republicans are increasingly joining Democrats in that call.
RELATED: Bay Area church and immigration leaders express outrage over family separation policy
Michigan Republican Rep. Fred Upton called for an immediate end to the "ugly and inhumane practice," adding, "It's never acceptable to use kids as bargaining chips in political process." Kansas GOP Sen. Pat Roberts said he is "against using parental separation as a deterrent to illegal immigration."
"The time is now for the White House to end the cruel, tragic separations of families," Sen. Lisa Murkowski, R-Alaska, said in a statement.
The Trump administration insists the family separations are required under the law.
At a White House briefing Monday, Homeland Secretary Kirstjen Nielsen declared, "Congress alone can fix it." That line has been echoed by others in the administration, including Trump himself, who has falsely blamed a law passed by Democrats for the "zero tolerance" approach to prosecutions of families crossing the border.
Two immigration bills under consideration in the House could address the separations, but the outlook for passage is dim. Conservatives say the compromise legislation that GOP leaders helped negotiate with moderates is inadequate.
RELATED: DHS secretary says migrant children are being treated humanely
Rep. Jim Jordan, R-Ohio, a member of the Freedom Caucus, said he's skeptical that even a full-throated endorsement from Trump will be enough to get the compromise bill through the House.
The compromise bill shifts away from the nation's longtime preference for family immigration to a new system that prioritizes entry based on merits and skills. It beefs up border security, clamps down on illegal entries and reinforces other immigration laws.
To address the rise of families being separated at the border, the measure proposes keeping children in detention with their parents, undoing 2-decade-old rules that limit the time minors can be held in custody.
Rep. Dave Brat, R-Va., another Freedom Caucus member, said he expects the GOP compromise bill to be defeated if it reaches the floor. "There's not enough votes because it doesn't solve the problem," he said.
Faced with the prospect of gridlock in the House, senators appear willing to take matters into their own hands.
Sen. John Cornyn of Texas, the No. 2 Republican leader, said Senate Republicans are working on language to address the family separations that could receive a floor vote, potentially as part of a spending bill package.
"I don't think the answer to family separation is to not enforce the law. I think the answer to family separation is: Don't separate families while you're enforcing the law," Cornyn told reporters. "It's all within our power, and people have to overcome their desire to preserve an issue to campaign on."
Sen. Chuck Grassley of Iowa, the Republican chairman of the Judiciary Committee, said he wants to do away with a legal settlement that requires the government to release children from custody and to their parents, adult relatives or other caretakers, in order of preference.
GOP senators including Lindsey Graham of South Carolina, Jeff Flake of Arizona and Susan Collins of Maine also said they've been discussing family separation legislation.
RELATED: Kamala Harris demands DHS secretary resignation over immigration policy
Graham told reporters the measure would keep migrant families together, provide additional judges so detained families would face shorter waiting periods, and supply facilities for the families to stay. He said he did not know how much the proposal would cost.
The administration, meanwhile, is hoping to force Democrats to vote for the bills or bear some of the political cost in November's midterm elections. Democrats brushed aside that pressure.
"As everyone who has looked at this agrees, this was done by the president, not Democrats. He can fix it tomorrow if he wants to, and if he doesn't want to, he should own up to the fact that he's doing it," said Senate Democratic leader Chuck Schumer of New York.
Senate Democrats have rallied behind an immigration bill from Sen. Dianne Feinstein, D-Calif. Her bill would prohibit the separation of migrant children from their parents, with exceptions for findings of child abuse or trafficking. If separations occur, Homeland Security would have to provide clear guidelines for how parents can contact their kids.
One House Republican in a swing district, Rep. Mike Coffman of Colorado, said he's willing to endorse the Feinstein bill if that's what it takes.
"I reached out to Sen. Feinstein's office to let her know I want to help her put a stop to this human rights disaster at the border. If that means introducing her bill in the House, I'd be honored to stand with her," he said.
For more stories, photos, and video on immigration and immigration reform, visit this page.
President Trump, Republicans to meet as outrage builds over border policy