The Khmer Empire lasted from 802 CE to 1431 CE in Southeast Asia. It was based in modern-day Cambodia and had its capital at Angkor, establishing it as the largest empire in the region under its greatest king Jayavarman VII. The Khmer developed advanced irrigation systems for agriculture but the empire declined due to environmental issues and conflicts with neighboring Thailand.