august 4 1864