While the modern game of golf originated in 15th-century Scotland, the game's ancient origins are unclear and much debated. Some historians
 trace the sport back to the Roman game of
paganica, in which participants used a bent stick to hit a stuffed leather ball. One theory asserts that paganica spread throughout Europe as the Romans conquered most of the continent, during the first century BC, and eventually evolved into the modern game.
 Others cite
chuiwan ("chui" means striking and "wan" means small ball) as the progenitor, a Chinese game played between the eighth and 14th centuries.
 A Ming Dynasty scroll dating back to 1368 entitled "The Autumn Banquet" shows a member of the Chinese Imperial court swinging what appears to be a golf club at a small ball with the aim of sinking it into a hole. The game is thought to have been introduced into Europe during the Middle Ages. Another early game that resembled modern golf was known as
cambuca in England and chambot in France.
 The Persian game
chaugán is another possible ancient origin. In addition,
kolven (a game involving a ball and curved bats) was played annually in Loenen, Netherlands, beginning in 1297, to commemorate the capture of the assassin of
Floris V, a year earlier.
Four gentlemen golfers on the tee of a golf course, 1930s
The modern game
originated in Scotland, where the first written record of golf is
James II's banning of the game in 1457, as an unwelcome distraction to learning archery.
James IV lifted the ban in 1502 when he became a golfer himself, with golf clubs first recorded in 1503-1504: "For golf clubbes and balles to the King that he playit with".
 To many golfers, the
Old Course at
St Andrews, a
links course dating to before 1574, is considered to be a site of pilgrimage.
 In 1764, the standard 18-hole golf course was created at St Andrews when members modified the course from 22 to 18 holes.
 Golf is documented as being played on
Musselburgh Links, East Lothian, Scotland as early as 2 March 1672, which is certified as the oldest golf course in the world by Guinness World Records.
 The oldest surviving
rules of golf were compiled in March 1744 for the Company of Gentlemen Golfers, later renamed
The Honourable Company of Edinburgh Golfers, which was played at
 The world's oldest golf tournament in existence, and golf's first major, is
The Open Championship, which was first played on 17 October 1860 at Prestwick Golf Club, in Ayrshire, Scotland, with
Scottish golfers winning the earliest majors.
 Two Scotsmen from
Dunfermline, John Reid and Robert Lockhart, first demonstrated golf in the US by setting up a hole in an orchard in 1888, with Reid setting up America's first golf club the same year, St. Andrews Golf Club in
Yonkers, New York.