october 27 1864