Since the 19th century, Thailand was known as Siam.

An excerpt from the article 31 facts about Thailand

While influence, mainly French and British, was growing in the region, Siam was the only country in Southeast Asia that was never colonized by Western powers.

On June 23, 1939, the country's name was changed to Thailand.