The city of Janesville is the county seat of Rock County. It was named in honor of Henry Janes, an early settler. It played a big part in Wisconsin's legal ban on capital punishment, as a tree downtown was the site of the lynching of a convicted murderer in 1859.