Dr. James Naismith, a physical education teacher from Canada, invented basketball in late 1891 at the YMCA Training School in Springfield, Massachusetts. Naismith wrote the sport's original rulebook, containing 13 rules, in 1892. Teams played with a soccer ball and shot the ball at peach baskets at each end of the gym.
The game of basketball originated after Naismith's boss, Dr. Luther Gulick, asked him to invent a new indoor game that could keep track athletes in shape during the New England winter. Naismith named the game after the peach baskets, which were eventually replaced with open-ended nets. Some of Naismith's original rules have survived, including the 10-foot height of the goal and the system of calling fouls.