Basketball was invented in 1891 by Dr. James Naismith in Springfield, Massachusetts. He sought a sport to engage students indoors during winter. The first game used a peach basket as a hoop. Over the decades, basketball evolved with formal rules and professional leagues, notably the NBA, established in 1946, propelling the sport into global popularity.