Who made sports betting legal?

In May 2018, the United States Supreme Court ruled in favor of New Jersey in Murphy v. National Collegiate Athletic Association, making sports betting legal in the United States.