Of the six provinces along the Kingdom’s southern peninsula, only Trang can be reached via railway. The Andaman rail tracks run past Trang city and end in Kantang, which is connected to the Andaman Sea 15km or so away by the Trang River. After its establishment in 1893, Kantang acted as a major socio-economic hub in the area and was an important port for goods from the West.
The Andaman rail line to Kantang began operations in 1913. The following year World War I broke out, and on Oct 28, 1914, a German warship attacked the British port of Penang in the Strait of Malacca. To play things safe, the Thai government had the administration centre moved from Kantang further inland to Thap Thiang, which was then renamed as Trang. Today, it is the capital of its namesake province.