Intervention occurs when a provincial government steps in to take control of some or all municipal functions, typically due to serious problems. Provinces may intervene when municipalities face financial crisis, corruption, prolonged governance dysfunction, or failure to provide essential services. Intervention can range from appointing advisors to monitor operations, to removing elected officials and installing provincial administrators. Provincial legislation establishes when and how intervention can occur. While intervention protects residents from failed municipal government, it suspends local democracy and is considered a last resort after other corrective measures have failed.