Preah Vihear is a Khmer temple situated atop a 525 meter (1,722 ft) cliff in the D?ngr?k Mountains, on the border between Cambodia and Thailand. It has the most spectacular setting of all the Khmer temples. Most of the temple was constructed in the 11th and 12th century during the reigns of the Khmer kings Suryavarman I and Suryavarman II. It was dedicated to the Hindu god Shiva. Preah Vihear is the subject of a long-running territorial dispute between Thailand and Cambodia, and several soldiers were killed in clashes in 2009.