Born and raised on a farm near Almonte, Ontario, Naismith studied and taught physical education at McGill University in Montreal until 1891 before moving to Springfield, Massachusetts, United States later that year where he designed the game of basketball while he was teaching at the International YMCA Training School in Springfield, Massachusetts. Seven years after inventing basketball, Naismith received his medical degree in Denver in 1898. He then arrived at the University of Kansas, later becoming the Kansas Jayhawks' athletic director and coach. While a coach at Kansas, Naismith coached Phog Allen, who later became the coach at Kansas for 39 seasons, beginning a lengthy and prestigious coaching tree. Allen then went on to coach legends including Adolph Rupp and Dean Smith, among others, who themselves coached many notable players and future coaches. Despite having coached his final season in 1907, Naismith remains the only coach in Kansas men's basketball history with a losing record.