Inspired by the French Revolution, liberal people in western Switzerland, revolted against the undemocratic reign of the old members of the Swiss Confederacy over other parts of the country and called for French support in 1798. Napoleon Bonaparte's troops occupied Switzerland and a central government was introduced. But soon (1803) he was obliged to reestablish some federal elements.