Pekalongan
Pekalongan lies on Java's northern coastal plain, between the sea and the mountains of the interior. Its position placed it along the route between the Islamic courts of Demak and Cirebon. By the early seventeenth century, treaties and marriage alliances brought the region into the sphere of the Mataram sultanate. The Dutch East India Company later established a post on this coast, where the movement of goods tied the port to both the Java Sea and the lands inland.