Chulalongkorn got the idea of having a royal residence with spacious gardens on the outskirts of the capital from European monarchs during his trip to Europe in 1897. When he returned to Bangkok he began to build a new royal compound within walking distance of the Grand Palace.