The Johor Empire at that time was approaching its dismemberment, with Sultan's power effectively reduced to the capital in Daik, Lingga. While the rest of the empire was administered by three powerful ministers, the Bendahara in Pahang, the Temenggong in Johor and Singapore, and the Yamtuan Muda in Riau.[3]