The Trump administration plans to get rid of a rule issued by President Obama that prevented health-care providers and insurers from discriminating against transgender people, The New York Times reported.

The Obama-era rule prohibited discrimination based on race, age, color, national origin, sex or disability for health programs that received federal funds, the Times reported.

Because most practicing physicians accept patients using Medicare or Medicaid, the rule widely applied to health-care providers across the U.S.

ADVERTISEMENT

LGBTQ advocates say that Trump’s planned move would erase gains made for transgender Americans and get rid of treatments that transgender people have been denied in the past.

The Trump administration argues that they needed to make the changes because a federal judge found parts of the rule unlawful.

The White House is currently reviewing a draft of the rule submitted by the Department of Health and Human Services.

The move is the latest in what critics see as the Trump administration’s effort to scale back transgender rights.

In the past, Trump has worked to ban transgender people from the military and the Education Department got rid of guidelines for how to accommodate transgender students at schools.