The Bugis faction, led by the underking Yamtuan Muda Raja Ja'afar, supported Abdul Rahman as successor and hastily organised a coronation ceremony before Hussein Shah could return. Raja Ja'afar, in exchange for his support for Abdul Rahman (now Sultan), was appointed as Regent and wielded administrative authority.[10] Hussein Shah was in Pahang, waiting for the monsoon winds to arrive, and was unaware of his brother's installation as the Sultan. Raja Ja'afar had written a letter to Hussein Shah, notifying him of Sultan Mahmud's death, but concealed his brother's ascension as the Sultan.