There is no single person who invented baseball. The game evolved from older bat-and-ball games already being played in England by the mid-18th century. This game was brought by immigrants to North America, where the modern version was developed. Alexander Cartwright is often credited with codifying the rules of modern baseball. He was a member of the Knickerbocker Base Ball Club of New York, which was founded in 1845.  The Knickerbocker Club is credited with establishing many of the basic rules of baseball, such as the diamond-shaped infield, foul lines, and the three-strike rule.