He was probably an officer of the 31st Illinois Infantry. Not having access to IL CW records, I cannot say more.