Modesty and humility are traits that were usually found in our Gaonim. When the Chasam Sofer was courting the daughter of the Gaon, Rav Akiva Eiger, the chief rabbi of Posen (born Nov. 8, 1761 - died Oct. 12, 1837), he wrote to the Gaon inquiring about the qualities of his daughter.
In the late 18th and early 19th centuries the struggle between chassidim and their opponents, the misnagdim, reached its peak. In many cases, chassidim were barred from areas where the misnagdim were the majority. Certainly it was unheard of for a city to choose a chassidic adherent as its rav.