June 18 (UPI) -- The U.S. Supreme Court ruled 6-3 Wednesday to uphold a Tennessee law that bans gender-affirming care for minors. More than 20 states have similar laws that the court's ruling may impact.

The court's ruling fell along ideological lines, with the conservative majority unanimously siding in favor of upholding the law.

Tennessee law bars minors from receiving treatments such as gender transition surgery, hormone therapy and puberty blockers.

In his majority opinion, Chief Justice John Roberts cited risks associated with providing such treatments to minors, referencing research dating back to 1979 and studies in European countries.

Related