Medang Kingdom
The Surakarta area was part of the Medang Kingdom and in this time a village called Wulayu seems to have already existed in or around the present-day city of Surakarta, as evidenced by a ferry charter issued by Balitung in A.D. 904. The Majapahit empire renewed this ferry charter in 1358.