The city became a county seat in 1822 .
In 1822 , the city became the county seat , and a new courthouse was built at the present location of Court Square , at the foot of Market Street ( now Dexter Avenue ) .