Time wore away, and on the 9th of April, 1865, Grant captured the Confederate army under Lee, thus virtually ending the war.