The temples of Mamallapuram (Mahabalipuram) were built during the reign of Narasimhavarman II (Rajasimha), also known as Mamalla, in the 7th-8th century CE. While his father Narasimhavarman I (Mamalla) gave the place its name, the famous rock-cut temples and shore temples are primarily attributed to Narasimhavarman II's patronage.