The history of Vladivostok can be divided into the history of the land on which Vladivostok is now located and the history of the city itself. The area that is now Vladivostok was ruled by various states, such as the Mohe, the Goguryeo, the Balhae and the later Liao, Jīn and Ming dynasties. The area was ceded by China to Russia as a result of the Treaty of Aigun of 1858 and the Treaty of Peking of 1860.