october 18 1864