august 5 1864