Sultan Abdul Rahman devoted himself increasingly to religion; he had delegated all administrative duties to Raja Ja'afar by the time William Farquhar approached the Sultan to secure an alliance with the British in an attempt to reduce Dutch influence in the region.[13]