The German Roman Empire continued until 1806.

.....................The Papacy suffered a temporary loss of power when Napoleon invaded Italy and captured the Pope.

The Papacy recovered its independence in 1814.