By the 4th century, most of the Pyu had become predominantly Buddhist, though archaeological finds prove that their pre-Buddhist practices remained firmly entrenched in the following centuries. According to the excavated texts, as well as the Chinese records, the predominant religion of the Pyu was Theravada Buddhism. The Theravada school prevalent in the Pyu realm was probably derived from the Andhra region in southeast India, associated with the famous Theravada Buddhist scholar, Buddhagosa. It was the predominant Theravada school in Burma until the late 12th century when Shin Uttarajiva led the realignment with Ceylon's Mahavihara school.