Before 1918 , it was the larger of the two capital cities in the united duchy of Saxe-Coburg and Gotha . Before 1918 , it was the smaller of the two capital cities in the united duchy of Saxe-Coburg and Gotha .