In 1641, Sultan Abdul Jalil Shah III moved to the mainland Johor and established his new capital in Makam Tauhid. He spent two years of his reign in Makam Tauhid before he crossed the Damar river to establish his new capital in Pasir Raja (also known as Batu Sawar) in October 1642.