Ayutthaya Kingdom
Persian and French influences

Upon his death in 1656, King Prasat Thong was succeeded first by his eldest son, Chai, who was almost immediately deposed and executed by the late King's brother, Si Suthammaracha, who in turn was defeated in single combat by his own nephew, Narai. Narai finally assumed a stable position as King of Ayutthaya with the support of a mainly foreign court faction consisting of groups that had been marginalized during the reign of his father, Prasat Thong. Among his benefactors were, notably, Persian, Dutch, and Japanese mercenaries. It should therefore come as no surprise that the era of King Narai was one of an extroverted Siam. Foreign trade brought Ayutthaya not only luxury items but also new arms and weapons. In the mid–17th century, during King Narai 's reign, Ayutthaya became very prosperous.

In 1662 war between Burma and Ayutthaya (the Burmese-Siamese War (1662-64)) erupted again when King Narai attempted to take advantage of unrest in Burma to seize control of Lan Na. Fighting along the border between the two adversaries continued for two years and at one time Narai seized Tavoy and Martaban. Ultimately, Narai and the Siamese ran out of supplies and returned home back within their border.

While commercially thriving, Narai's reign was also socially tumultuous. Much of this can be attributed to three-way conflict between the Dutch, French, and English trading companies now operating in Siam at an unprecedented intensity due to Siam's role as a center of trade, fostered by Narai. Of these competing foreign influences, Narai tended to favor relations with the French, wary of the growing Dutch and English colonial possessions in the South China Sea. Soon, Narai began to welcome communities of French Jesuits into his court, and pursue closer relations with both France and the Vatican. Indeed, the many diplomatic missions conducted by Narai to such far-flung lands are some of the most celebrated accomplishments of his reign. Narai as well leased the ports of Bangkok and Mergui to the French, and had many French generals incorporated into his army to train it in Western strategy and supervise the construction of European-style forts. During this time, Narai abandoned the traditional capital of Ayutthaya for a new Jesuit-designed palace in Lopburi.

As a growing Catholic presence cemented itself in Siam, and an unprecedented number of French forts were erected and garrisoned on land leased by Narai, a faction of native Siamese courtiers, Buddhist clergy, and other non-Catholic and/or non-French elements of Narai's court began to resent the favorable treatment French interests received under his reign. This hostile attitude was especially directed at Constantine Phaulkon, a Catholic Greek adventurer and proponent of French influence who had climbed to the rank of Narai's Prime Minister and chief advisor of foreign affairs. Much of this turmoil was primarily religious, as the French Jesuits were openly attempting to convert Narai and the royal family to Catholicism.

Narai was courted not just by Catholic conversion, but as well by proselytizing Muslim Persians, Chams and Makassars in his court, the later of which communities launched an unsuccessful revolt in 1686 to replace Narai with a Muslim puppet king. While members of the anti-foreign court faction were primarily concerned with Catholic influence, there is evidence to suggest that Narai was equally interested in Islam, and had no desire to fully convert to either religion.

Nonetheless, a dissatisfied faction now led by Narai's celebrated Elephantry commander, Phetracha, had long planned a coup to remove Narai. When the king became seriously ill in May 1688, Phetracha and his accomplices had him arrested along with Phaulkon and many members of the royal family, all of whom were put to death besides Narai, who died in captivity in July of that year.. With the king and his heirs out of the way, Phetracha then usurped the throne and officially crowned himself King of Ayutthaya on 1 August.

King Phetracha took Mergui back from French control almost immediately, and began the pivotal Siege of Bangkok, which culminated in an official French retreat from Siam. Phetracha's reign, however, was not stable. Many of Phetracha's provincial governors refused to recognize his rule as legitimate, and rebellions by the late Narai's supporters persisted for many years. The most important change to Siam in the aftermath of the revolution was Phetracha's refusal to continue Narai's foreign embassies. King Phetracha opted instead to reverse much of Narai's decisions and closed Thailand to almost all forms of European interaction except with the Dutch.
oulipo:avoid_letter[o]