 Originally both Herznach and Ueken were ruled by the Homberger family.In the early 14th Century, the Habsburgs had the right to judge and punish theft and other felonies in Herznach.Between the Imperial Reform (1495) of Maximilian I until the fall of the Ancien Régime (1797) it belonged to the Austrian District of Rheinfelden.