october 22 1864