at the city of that name. Today, elements of the Banteay Srei style of the late tenth century can be seen, but most of the temple was constructed during the reigns of the Khmer kings Suryavarman I (1006–1050) and Suryavarman II (1113–1150). An inscription found at the temple provides a detailed account of Suryavarman II studying sacred rituals, celebrating religious festivals and making gifts, including white parasols, golden bowls and elephants, to his spiritual advisor, the aged Brahmin Divakarapandita. The Brahmin himself took an interest in the temple, according to the inscription, donating to it a golden statue of a dancing Shiva known as Nataraja. In the wake of the decline of Hinduism in the region the site was converted to use by Buddhists. Modern history and ownership dispute In modern times, Prasat Preah Vihear was rediscovered by the outside world and became subject of an emotional dispute between Thailand and the newly independent Cambodia. The dispute arose from the different maps each party used in national delimitation. In 1904, Siam and the French colonial authorities ruling Cambodia formed a joint commission to demarcate their mutual border to largely follow the watershed line of the Dângrêk mountain range, which placed nearly all of Preah Vihear temple on Thailand's side. France, who was the protector of Cambodia at the time, agreed with Siam in Franco-Siamese boundary treaty of 1904. The Mixed Commission was set up in 1905, and it was to carry out delimitation between Siam and Cambodia. In 1907, after survey work, French officers drew up a map to show the border's location. Cambodia used the map published by French geographers in 1907 (called "Annex I map") which showed the Temple in Cambodian territory. While Thailand used the provisions of the treaty of 1904 which reads:"The frontier between Siam and Cambodia starts, on the left shore of the Great Lake, from the mouth of the river Stung Roluos, it follows the parallel from that point easterly direction until it meets the river Prek Kompong Tiam, then, turning northwards, it merges with the meridian from that meeting-point as far as the Pnom Dang Rek mountain chain. From there it follows the watershed between the basins of Nam Sen and the Mekong, on the one hand, and the Nam Moun, on the other hand, and joins the Pnom Padang chain the crest of which it follows eastwards as far as the Mekong.