By 1814, Napoleon faced total defeat, with invasions from all sides. A peace treaty was arranged. Napoleon would abdicate (give up the throne) and live on a small Mediterranean island called Elba, with a small army. He was replaced as ruler of France by Louis XVIII, brother of Louis XVI.