kotamadya (city), eastern Jawa Tengah provinsi (Central Java province), central Java, Indonesia. It lies along the Solo River. Once the capital of Surakarta principality under the Dutch, it was occupied by Japan during World War II and was later incorporated into the republic.