In 1856, King Mongkut of the Chakri dynasty ordered King Narai's palace to be renovated. The city finally regained its importance in 1938, when Field Marshal Plaek Phibunsongkhram chose Lopburi to be the largest military base in Thailand.