In addition to the regular county vote, the Soldier vote was 234 for Montgomery and 1,221 for Gill.
Candidates' party affiliations obtained from the 11/3/1865 Manitowoc Pilot and 11/2/1865 Dodgeville Chronicle. https://chroniclingamerica.loc.gov/lccn/sn85033139/1865-11-03/ed-1/seq-1/ & https://chroniclingamerica.loc.gov/lccn/sn85033019/1865-11-02/ed-1/seq-1/
Source for Popular Vote data: Wisconsin Board of State Canvassers, "Attorney Genl.," Tabular Statement of the votes...at the General Election (Madison, 1865)