Alexander Cartwright Jr. is credited with formalizing modern baseball rules in the 1840s, including the diamond-shaped field, foul lines, and three-strike system. While baseball evolved from earlier games, Cartwright's Knickerbocker Rules established the structure of the modern sport. The Abner Doubleday myth was fabricated later.