King Jayavarman VII (reigned 1181–1219) was generally considered as Cambodia's greatest king. He had already been a military leader as a prince under the previous kings. After the Cham had conquered Angkor, he gathered an army and regained the capital. He ascended the throne and continued the war against the neighbouring eastern kingdom for another 22 years, until the Khmer defeated Champa in 1203 and conquered large parts of its territory. According to Chinese sources, Jayavarman VII added Pegu to the territory of the Khmer Empire in 1195.