In 634, he went east to Jalandhar in eastern Punjab, before climbing up to visit predominantly non-Mahayana monasteries in the Kulu valley and turning southward again to Bairat and then Mathura, on the Yamuna River. Mathura had 2,000 monks of both major Buddhist branches, despite being Hindu-dominated. Xuanzang traveled up the river to Shrughna, also mentioned in the works of Udyotakara, before crossing eastward to Matipura, where he arrived in 635, having crossed the river Ganges. At Matipura Monastery, Xuanzang studied under Mitrasena. From here, he headed south to Sankasya (Kapitha, then onward to Kannauj), the grand capital of the Empire of Harsha under the northern Indian emperor Harsha. It is believed he also visited Govishan, present-day Kashipur in the Harsha era, in 636; Xuanzang encountered 100 monasteries of 10,000 monks (both Mahayana and non-Mahayana), and was impressed by the king's patronage of both scholarship and Buddhism. Xuanzang spent time in the city studying early Buddhist scriptures, before setting off eastward again for Ayodhya (Saketa), the homeland of the Yogacara school. Xuanzang now moved south to Kausambi (Kosam), where he had a copy made from an important local image of the Buddha.