Sheikh Ahmad Qomi (; ; ; c. 1543–1631), also known as Ahmad Qomi or Ahmad Kuni , was a Persian-born merchant who settled in the Ayutthaya Kingdom in the early 17th century. He rose to prominence as a powerful official at the Siamese court, receiving the name and title Chao Phraya Boworn Rajnayok (). He is recognised as the progenitor of the influential Bunnag family.

Origins and early life Ahmad was born in Persia about 1543, and is sometimes said to be from the city of Qom, south of Tehran.Marcinkowski, Muhammad Ismail, "From Isfahan to Ayuthayya: Contacts Between Iran and Siam in the 17th Century", pp. 85-87 However, this is disputed by his descendant Tej Bunnag, Thailand's Minister of Foreign Affairs, who claimed his ancestor hailed from a town called Guni in the Mazandaran/Astarabad region south of the Caspian Sea.Persia-Siam connection clarified He had a brother, Muhammad Said, who would later immigrate along with him to Siam."History of Ayutthaya" They may have arrived in Siam as early as 1595Sthapitanond, Nithi, and Mertens, Brian, "Architecture of Thailand: A Guide to Tradition and Contemporary Forms" pg. 112-5 or possibly in the early years of the 17th century. He set up a trading establishment in the Ghayee landing district, took a Thai wife, and became quite wealthy and prosperous.

Siamese official During the reign of Songtham, Ahmad was appointed to high positions in the royal administration. He was appointed Chao Kromma Tha Khwa ("Lord of the Right Pier"), which gave him authority over trade and resolving disputes involving foreigners other than the Chinese, and was made the first Chula Rajmontri (Shaykh al-Islām) of Siam's Muslim population. Later in the reign of Songtham, Ahmad was appointed Samuhanayok (one of the king's two chief chancellors), with the rank of Chao Phraya; his son Chun and grandson Sombun would later be appointed to the same position.Christoph Marcinkowski, Persians and Shi’ites in Thailand: From the Ayutthaya Period to the Present, Nalanda-Sriwijaya Centre Working Paper No 15 (Feb 2014), pp. 7-8

Shaykh Ahmad crushed and defeated Japanese merchants who attempted a coup against the Thai king in 1611.MARCINKOWSKI, M. ISMAIL. “IRANIANS, SHAYKH AL-ISLĀMS AND CHULARAJMONTRIS: GENESIS AND DEVELOPMENT OF AN INSTITUTION AND ITS INTRODUCTION TO SIAM.” Journal of Asian History, vol. 37, no. 2, 2003, pp. 187–204. JSTOR, http://www.jstor.org/stable/41933340. Accessed 30 Jul. 2022.M. Ismail Marcinkowski. “The Iranian-Siamese Connection: An Iranian Community in the Thai Kingdom of Ayutthaya.” Iranian Studies, vol. 35, no. 1/3, 2002, pp. 23–46. JSTOR, http://www.jstor.org/stable/4311436. Accessed 30 Jul. 2022. https://www.tandfonline.com/doi/abs/10.1080/00210860208702010?journalCode=cist20

Descendants

Some of Ahmad's Muslim descendants continued to hold the position of Chula Rajmontri until as late as 1945, but the bulk of his descendants converted to Buddhism.Christoph Marcinkowski, Persians and Shi’ites in Thailand: From the Ayutthaya Period to the Present, Nalanda-Sriwijaya Centre Working Paper No 15 (Feb 2014), pp. 4-5

One of Ahmad's descendants, Bunnag, married a sister of Queen Amarindra, the consort of King Rama I of the Rattanakosin era. His descendants, who took Bunnag as a surname, held powerful positions within the Thai government and cultural establishment from the 19th century to modern times. Among these descendants were Tish Bunnag (Prayurawongse), regent for King Mongkut, Chuang Bunnag (Somdet Chaophraya Sri Suriwongse), regent for King Chulalongkorn, Kham Bunnag (Chaophraya Thiphakorawong), Minister of State and Minister of the Treasury for King Mongkut,"Historical Dictionary of Thailand", pg. 54 and Marut Bunnag, Speaker of the House of Representatives from 1992 to 1995.

Cultural legacy Ahmad is sometimes credited with introducing the popular Massaman curry dish to Thailand. This dish, along with others inspired by Persian dishes, is among the recipes in the funeral cookbooks of the Bunnag family.Nualkhair, Chawadee, "In Thailand, Funeral Cookbooks Preserve Recipes and Memories"

Ahmad founded the Takiaayokin Mosque (granted its current name by Mongkut) in Ayutthaya in the 1620s. The Iranian embassy in Bangkok houses the Shaykh Ahmad Qumi Library, and in 2005 organized a Conference on Shaykh Ahmad Ghomi.Christoph Marcinkowski, Persians and Shi’ites in Thailand: From the Ayutthaya Period to the Present, Nalanda-Sriwijaya Centre Working Paper No 15 (Feb 2014), pp. 15-16

References