in 1934, thai government launched the compertitions for the official nation anthem, both with music and lyrics, for the music, jangwang tua patakosol composed another tune in a more traditional style called "phleng maha nimii" for making the decision to the governmwnt but they still selected Pha Jenduriyang's melody because it sounded more modern. After that, in the competition for the lyrics with pha jenduriyang's music, the original words by khun wichitmatra won the first prize and still used as an official lyrics with, however, a minor edit and an additional version which wrote by chan khamvilai and won the second prize.
In 1939, when the name of the country was changed from siam to thailand, a competition was launched to create from lyrics, with those by luang saranuprapan winning prime minister Phibunsongkham ordering the anthem to be played every day at 8.00, and ordering th populace to stand up to show respect for the nation. that law is still in force today.