Neither the Holy Roman Empire nor the Electoral Palatinate was restored at the Congress of Vienna in 1815. Germany became a loose confederation of states dominated by Austria and Prussia, which both annexed most of the German territories left of the Rhine. Kallstadt came under Austrian rule, but Austria quickly exchanged the area with the Kingdom of Bavaria in 1816.