Suryavarman II (Paramavishnuloka) was king of the Khmer Empire from 1113 to 1150 and the builder of Angkor Wat. Unlike his Buddhist predecessors, he promulgated Vaishnavism as the official religion. During his reign, he reunited the Empire after years of unrest and expanded its borders to cover much of present-day Thailand as well as parts of Vietnam and Malaysia, although all three of his campaigns against the Dai Viet failed. He also turned on and in 1145 briefly conquered his erstwhile ally, the Kingdom of Champa, but died when fighting against them in a later campaign. He was succeeded by Dharanindravarman II.