Who became ruler of France as a result of the French Revolution?