Around the 4th century AD, Champan polities began to absorb much of Indic influences, probably through its neighbour, Funan. Hinduism was established as Champa began to create Sanskrit stone inscriptions and erect red brick Hindu temples. The first king acknowledged in the inscriptions is Bhadravarman, who reigned from AD 380 to AD 413. At Mỹ Sơn, King Bhadravarman established a linga called Bhadresvara, whose name was a combination of the king's own name and that of the Hindu god of gods Shiva. The worship of the original god-king under the name Bhadresvara and other names continued through the centuries that followed.