The 13 original rules of basketball were written by Dr. James Naismith in December 1891 in Springfield, Massachusetts. The free-throw line was set at 20 feet.