The N.B.A. announced Tuesday that MGM Resorts International would be the league’s official gambling partner, the first partnership of its kind with a major sports league in the United States.

The partnership is the next step in the process of betting becoming an accepted part of the sports culture in the United States after decades during which the major sports leagues shunned any official association with gambling. This year, the Supreme Court struck down a federal law that effectively banned sports betting in most states, paving the way for major changes in the sports business in this country.

As part of the deal, MGM will use official N.B.A. data on its betting platform and work with the league to detect and prevent fraud and game-fixing. MGM will also have the right to use N.B.A. and W.N.B.A. marks and team logos, and it will work on a coordinated marketing plan with the league.

The N.B.A. commissioner, Adam Silver, has long said that sports gambling will eventually become legal and widespread in the United States. He called for its legalization and regulation back in 2014, and since the Supreme Court struck down the federal prohibition in May, the N.B.A. had signaled that it would be the first major sports league to begin profiting from it.