How was basketball was invented?

Context: Basketball began with its invention in 1891 in Springfield, Massachusetts, by Canadian physical education instructor James Naismith as a less injury-prone sport than football. Naismith was a 31-year old graduate student when he created the indoor sport to keep athletes indoors during the winters.

Answer: Basketball was invented as a less injury-prone sport than football to keep athletes indoors during the winters.