By the 1920s a series of new palaces were constructed elsewhere for the king's use; these included the more modern Dusit Palace, constructed in 1903, and Phaya Thai Palace in 1909. These other Bangkok residences began to replace the Grand Palace as the primary place of residence of the monarch and his court. By 1925 this gradual move out of the palace was complete. The growth and centralization of the Siamese state also meant that the various government ministries have grown in size and were finally moved out of the Grand Palace to their own premises. Despite this the Grand Palace remained the official and ceremonial place of residence as well as the stage set for elaborate ancient ceremonies of the monarchy. The end of the absolute monarchy came in 1932, when a revolution overthrew the ancient system of government and replaced it with a constitutional monarchy.[20][21]