<prompt> Translate the following text to EnglishWakati Hu Jia wa China, Hu Jia, alipofika huko katika karne ya saba, ilikuwa chuo kikuu chenye kusitawi cha kufundisha falsafa, mantiki, sarufi, dawa, na theolojia ya Kibuddha.  <response>: By the time the Chinese sage, Hiuen Tsang, came here in the seventh century, it was a thriving university for teaching philosophy, logic, grammar, medicine, and Buddhist theology. 