AUSTIN — The Justice Department, which under President Donald Trump flipped its stance on Texas' controversial voter identification law, said the state's revamp remedies all "discriminatory effects" found by federal courts and should be allowed to go into effect without further penalties.

In a filing Wednesday, the department asked a U.S. District Court in Corpus Christi to end legal challenges to the law. Federal officials say changes made to the original 2011 measure during this year's legislative session are "constitutionally and legally valid."

"The Court therefore has no basis to substitute the remedies of an injunction, declaratory judgment, or retention of jurisdiction to review future legislative action for the Legislature's preferred remedy of S.B. 5," the Justice Department wrote in a brief to U.S. District Judge Nelva Gonzales Ramos of Corpus Christi.

Federal courts have found three times that the law discriminates against minorities and the elderly. Lawmakers during this year's session passed Senate Bill 5 to amend the law, but opponents — including Democrats — said it did not go far enough.

The Justice Department's latest legal filing completes its reversal from an Obama-era argument that the state had passed the law to disenfranchise minority voters, who largely vote for Democrats.

Ramos is determining whether her court should implement more remedies or penalize the state.

In its brief, the department said Ramos should cancel an interim fix the state had agreed to before last year's presidential election and allow implementation of the revamped voter ID law without further penalties. That remedy was meant to address the law's biggest discriminatory effects.

The department said the 5th Circuit Court of Appeals asked the state to provide a legislative fix to solve issues with the law, which the state had achieved. Therefore, "there is no basis for an exercise of federal judicial remedial power where a legislative body already has fixed the violation."

Plaintiffs in the suit — which include minority lawmakers, minority rights groups and private citizens — have asked Ramos to create her own remedies to the voter ID law, which she has twice ruled discriminatory. Those remedies could include striking down the law.

They also have asked Ramos to consider placing Texas under federal supervision for future changes to its election laws. Texas would be the first state brought back under federal supervision since a 2013 U.S. Supreme Court ruling took Texas and other states with histories of discrimination off the list.

In their own briefing, plaintiffs remained unconvinced that Texas' changes to the law fixed its discriminatory issues.

"At its core, SB 5 maintains the same unexplained picking and choosing of 'acceptable' photo IDs for in-person voting — accepting IDs disproportionately held by Anglo voters and rejecting IDs disproportionately held by minority voters — that led the Court, in part, to its discriminatory intent finding," plaintiffs wrote.

Texas' voter ID law is considered one of the strictest in the country, requiring one of seven state-approved forms of photo identification. That list includes state-issued documents like a gun license, but does not allow the use of student IDs to vote.

The Justice Department said the state's newly passed law mirrors Ramos' interim order in its efforts to resolve some of its discriminatory effects and also codifies voter outreach.

Senate Bill 5 would allow people without one of the state-approved IDs to vote if they provide supporting documents that list their name and address. The documents could include a utility bill, a bank statement, a government check or a paycheck. Voters who cast their ballots this way would be required to sign a "declaration of impediment" listing why they could not obtain one of the state-approved IDs in time for the election. Lying on the document would be a state jail felony.

The bill also allows people to vote with an ID that's been expired up to four years, which aligns with rules laid out in Ramos' interim order. People over age 70 would be allowed to use an expired ID to vote.

The Justice Department said that through these efforts, the state was "dramatically reducing the number of voters who lack acceptable photographic identification." The state also has committed to spending $4 million on voter outreach, the department said.

It also would require the secretary of state to create a mobile program that would issue election certificates, making it easier for people to receive state-approved IDs to vote.