after that , theravada is said to have been carried to sri lanka by ashoka 's son , the monk mahinda , where it eventually became a national creed , centered at the great monastery of mahavihara and closely associated with the sri lankan monarchy .