The "matha" tradition of Hinduism attracted royal patronage, attracting endowments to support studies, and these endowments established, states Hartmut Scharfe, what may be "the earliest case on record of a university scholarship". Some of these medieval era "mathas" of Hinduism in Andhra Pradesh, Karnataka, Kerala and Tamil Nadu, were for Vedanta studies, but some "mathas" from the 700 to 1000 CE period predominantly focussed on Shaivism, Vaishnavism, military, martial arts, music, painting or other fields of knowledge including subjects related to Buddhism and Jainism. There is evidence, states Hartmut Scharfe, of "mathas" in eastern and northern India from 7th century CE onwards, such as those in Kashmir, Uttar Pradesh particularly in the Hindu holy city of Kashi, Madhya Pradesh, Bihar and Odisha, but these are not from ancient temple inscriptions, but implied from traveller records (Chinese) who visited these regions.