Basketball originated in 1891 as a way to promote discipline and morale through athletic competition at the YMCA. It grew in popularity through amateur leagues like the NCAA and AAU in the early 20th century. After World War II, there was demand for basketball as a professional sport, leading to the creation of the NBA in 1949. The NBA aimed to market basketball as a product and recruited top college players with higher salaries, intensifying the level of competition and growing the fanbase. While amateur organizations initially promoted the ideals of amateurism and character development through basketball, commercialization and professionalization became dominant forces by the mid-20th century.