Basketball was invented by a man named James Naismith. He did this in 1891 at the YMCA training school in Springfield, Massachusetts. He was asked to invent a new game at this time because many people were no longer interested in the activities offered during this winter, between football and baseball season.
In the original rules of basketball, people were not allowed to dribble. The ball must be passed from the same spot the ball was caught. Three consecutive fouls counted as a point for the other team. There was also no contact allowed during the game, this would count as a foul if committed.
By 1905, basketball was recognized as a permanent college winter sport. Basketball was played for the first time in the Olympics at the 1936 Berlin games, where Naismith tossed up the ball to open the game.