section_path: Politics and government/Foreign relations
section_name: Foreign relations
paragraph_text: Foreign relations
  
  Siam's and Thailand's way of conducting foreign relations has long been described as "bamboo bending with the wind", of policies that are "always solidly rooted, but flexible enough to bend whichever way the wind blows in order to survive,” or adaptable and pragmatic. In order to secure independence, it sought to pit one great power against the others so that it would be dominated by none.
  
  During the Cold War, Thailand sought to prevent the spread of communism so it joined the United States, including participating in SEATO alliance, sending expeditions to Korea and Vietnam, and offering the US to use its base. Thailand is one of the five founding members of Association of Southeast Asian Nations (ASEAN), initially to safeguard against communism. The end of Vietnam War was a turning point in Thai foreign policy and afterwards it sought to improve relations with Communist China and its now-Communist neighbours. Thailand remains an active member of ASEAN and seek to project its influence in it. Thailand has developed increasingly close ties with other members, with progressing regional co-operation in economic, trade, banking, political, and cultural matters.
  
  In the 2000s, Thailand had taken an active role on the international stage and participated fully in international and regional organisations. It is a major non-NATO ally and Priority Watch List Special 301 Report of the United States. When East Timor gained independence from Indonesia, Thailand contributed troops to the international peacekeeping effort. As part of its effort to increase international ties, Thailand had reached out to such regional organisations as the Organization of American States (OAS) and the Organization for Security and Co-operation in Europe (OSCE).
  
  During Thaksin Shinawatra 's premiership, negotiations for several free trade agreements with China, Australia, Bahrain, India, and the US were initiated. Thaksin sought to position Thailand as a regional leader, initiating various development projects in poorer neighbouring countries. More controversially, he established close, friendly ties with the Burmese dictatorship. Thailand joined the US-led invasion of Iraq, sending a humanitarian contingent until September 2004. Thailand also had contributed troops to reconstruction efforts in Afghanistan.
  
  In April 2009, the Cambodian–Thai border dispute brought troops on territory immediately adjacent to the 900-year-old ruins of Cambodia's Preah Vihear Hindu temple near the border.
  
  After the 2014 coup, Thailand leaned more towards China. Growing Chinese influence and capital inflow caused some members of parliament to raise the concern about "economic colony" under China after many concessions.
  
  During the Israel-Hamas military conflict in 2023, at first Thailand's prime minister stated that his government strongly condemns the attack against Israel and extends its deepest condolences to the government and the people of Israel but the government later changed its position and announced that Thailand adopted a neutral stance in this conflict. 28 Thai nationals were killed in this conflict.