Basketball was invented in 1891 by James Naismith. The first official game was played in 1892 at a YMCA gymnasium. Women's basketball began in 1892 at Smith College. The NBA was founded in 1946 and originally had 17 teams, now having 30 teams. Basketball has become popular worldwide with tournaments like the Olympics and FIBA World Cup being important internationally. Countries like Spain, Argentina, and Greece now compete at the same level as the USA national team.