Each city improvement has a maintenance cost that must be paid in gold at the beginning of each turn. The size of an improvement's maintenance cost correlates to the amount of production required to create that improvement. Maintenance costs are deducted before wages are paid. If the total combined maintenance costs of all improvements exceeds the total gold being generated plus the amount in savings, improvements will be automatically sold off (starting with the most expensive) until the deficit has been eliminated.