Mataram Sultanate
Since 1631, Banjarmasin was preparing to face an attack from the Mataram Sultanate, but due to lack of logistics, the planned attack from the Mataram Sultanate was canceled. After 1637 there was a massive migration from Java as a result of the victims of Sultan Agung's political aggression. The arrival of immigrants from Java had a huge influence so that the ports on the island of Borneo became the center of diffusion of Javanese culture.