大藏省
Ramathibodi I established four Great Officers of State. These were the Ministry of the Interior ("Wieng"), the Ministry of the Treasury ("Klang"), the Ministry for the King's Household ("Wang"), and the Ministry of Agriculture ("Na"). He also codified the T'ai laws. Finally, he formed an alliance with the Ming Dynasty.