Answer
When the French revolutionary army entered Mainz, Huber moved to Frankfurt. This was because he was concerned that the French would not be tolerant of his radical political views, and he feared that he would be imprisoned or even killed. Frankfurt was a more liberal city, and Huber believed that he would be able to live there more freely.