I knew it was from a court
decision going back to around
1964 or so but that is not something
that is not beyond the possibility of
changing at some point. The
SCOTUS should turn it back to
the states to choose status quo
or change it.
The case was Baker v. Carr, 369 U.S. 186 (1962). It would take the equivalent of a legal and revolution to change it.