The present Sultanate of Terengganu had its origins in 1726. Sultan Zainal Abidin I, from the family of the Pahang Bendahara, was the first ruler. His successor, Mansur Syah, played a vital role in checking the influence of Bugis outsiders in the region.
In the subsequent years, the Siamese started to impose its sovereignty over Terengganu with the Sultans sending tributes (in the form of Bunga Emas) to Siam until 1909. In July 1909, the Anglo-Thai Treaty of Bangkok saw the British wielding its power over Terengganu. However, Sultan Zainal Abidin III rejected this treaty; a friendship treaty was later ratified and this paved the way for the appointment of an agent of the British Consul-General. Terengganu was finally persuaded to accept a British adviser, J.L. Humphreys, in 1919.
The Japanese Occupation (1941-1945) resulted in Terengganu being handed back to Siam. In September 1945, Terengganu was placed under the British Military Administration.
In 1945, together with Penang and Malacca, and 9 other Malay states, Terengganu joined the Malayan Union. In 1948, it joined the Federation of Malaya, which later achieved independence on 31 August 1957.