The State of Penang, one of the most developed and urbanised Malaysian states, is located at the nation's northwest coast along the Malacca Strait. Unlike most Malaysian states, the history of modern Penang was shaped by British colonialism, beginning with the acquisition of Penang Island from the Sultanate of Kedah by the British East India Company in 1786. Developed into a free port, the city state was subsequently governed as part of the Straits Settlements, together with Singapore and Malacca; the state capital, George Town, briefly became the capital of this political entity between 1826 and 1832. By the end of the 19th century, George Town prospered and became one of the major entrepôts in Southeast Asia.