No one knows for certain how long people have lived in what is now Cambodia, as studies of its prehistory are undeveloped. A carbon-l4 dating from a cave in northwestern Cambodia suggests that people using stone tools lived in the cave as early as 4000 bc, and rice has been grown on Cambodian soil since well before the 1st century ad. The first Cambodians likely arrived long before either of these dates. They probably migrated from the north, although nothing is known about their language or their way of life.
By the beginning of the 1st century ad, Chinese traders began to report the existence of inland and coastal kingdoms in Cambodia. These kingdoms already owed much to Indian culture, which provided alphabets, art forms, architectural styles, religions (Hinduism and Buddhism), and a stratified class system. Local beliefs that stressed the importance of ancestral spirits coexisted with the Indian religions and remain powerful today.
Funan gave way to the Angkor Empire with the rise to power of King Jayavarman II in 802. The following 600 years saw powerful Khmer kings dominate much of present day Southeast Asia, from the borders of Myanmar east to the South China Sea and north to Laos. It was during this period that Khmer kings built the most extensive concentration of religious temples in the world – the Angkor temple complex. The most successful of Angkor’s kings, Jayavarman II, Indravarman I, Suryavarman II and Jayavarman VII, also devised a masterpiece of ancient engineering: a sophisticated irrigation system that includes barays (gigantic man-made lakes) and canals that ensured as many as three rice crops a year. Part of this system is still in use today.