Before 1805, Karlstadt was located in the Electorate of Würzburg. Today, it is located in the German State of Bayern (Bavaria).