King Anawrahta, founder of the Bagan Kingdom, built Shwesandaw Pagoda in 1057. After his conquest of the Mon Kingdom of Thaton, the king constructed the temple to enshrine hair relics of the Gautama Buddha, which were brought from the defeated empire.