Shanghai Jiao Tong University is a public university in Shanghai, China, affiliated with the Ministry of Education. It was founded in 1896 as Nanyang Public School, took the name Jiao Tong University in 1921 and its present name in 1959, and merged with Shanghai Agricultural College in 1999 and Shanghai Second Medical University in 2005. It has 33 schools, 12 affiliated hospitals and a Minhang campus that opened in 1987.