On 6 February 1819, Temenggong Abdul Rahman and Sultan Hussein Shah signed The Singapore Treaty with Stamford Raffles. Major William Farquhar, accompanied by a few Malaccan Malays, climbed up the Bukit Larangan. Farquhar drew up the first gun and set up the post to hoist the Union Jack on top of the hill, marking the birth of Singapore as a British settlement. Raffles appointed Farquhar as the first Resident and Commandant of Singapore on the same day. Before leaving on the next day, Raffles left Farquhar with a set of instructions on the administration of the new British settlement. The hill was later known as the Singapore Hill.