Following the victory of Raja Kecil forces, the deposed Abdul Jalil Shah was re-appointed as Bendahara of the kingdom and lived at Kota Tinggi. By the end of 1718, he retired to Terengganu and further removed to Pahang in 1719. On July 11, 1721, he established Kuala Pahang as his new capital[citation needed] and made attempts to recover his kingdom with the support of nobles from Johor, Pahang and Kelantan.[10]