The 11th century was a time of conflict and brutal power struggles. Under Suryavarman II (reigned 1113–1150) and the largest temple of Angkor was built in a period of 37 years: Angkor Wat, dedicated to God Vishnu. In the east, his campaigns against Champa, and Dai Viet, were unsuccessful,