familysearch.org/ark:/61903/1:1:F9PH-136 Civil War Soldiers Index
The Invalid term implies to me that he was wounded during the war. Looks like the other person, Louis (did not discern the first letter of his last name) was a Captain out of Ohio. Maybe someone else at WikiTree can help clarify that part of the record.
My g grandfather and gg grandfather Hemenway also served in the Civil War out of Illinois, but they were from Rock Island County, IL.