In 1818, with strong support from Yang di-Pertuan Muda of Johor-Riau, Raja Jaafar, Abdul Rahman Muazzam Shah was inaugurated as Sultan and Yang di-Pertuan Besar of Linga with the title of Sultan Abdul Rahman I Muazzam Shah ibni al-marhum Sultan Mahmud III Alam Shah. When his era of government, Riau-Lingga has become the centre of development and broadcasting of Islam. In 1823 AD, Sultan Abdul Rahman has established the Great Mosque in Penyengat Island in Riau Archipelago that still exists to this day.[3]