Originally the town was known as Mamallapuram , named after King Narasimha Mamalla ( 630 668 ) , the great wrestler , in whose reign its many extraordinary temples and shrines were begun .
In addition to wrestling , ing Narasimha Mamalla was a scholar and a kung-fu master .