At the beginning of the 10th century, the kingdom split. Jayavarman IV established a new capital at Koh Ker, some 100 km northeast of Angkor, called Lingapura. Only with Rajendravarman II (reigned 944–968) was the royal palace returned to Yasodharapura. He took up again the extensive building schemes of the earlier kings and established a series of temples in the Angkor area, not the least being the East Mebon, a temple located on an artificial island in the center of the East Baray, and several Buddhist temples, such as Pre Rup, and monasteries. In 950, the first war took place between Kambuja and the kingdom of Champa to the east (in the modern central Vietnam).