President Abraham Lincoln visited General Grant at Petersburg on April 3, and took a launch to Richmond the next day, while Jefferson Davis attempted to organize his Confederate government at Danville. Lincoln met Confederate assistant secretary of War John A. Campbell, and handed him a note inviting Virginia's legislature to end their rebellion. After Campbell spun the note to Confederate legislators as a possible end to the Emancipation Proclamation, Lincoln rescinded his offer and ordered General Weitzel to prevent the Confederate state legislature from meeting. Union forces killed, wounded or captured 8000 Confederate troops at Saylor's Creek southwest of Petersburg on April 6. General Lee continued to reject General Grant's surrender suggestion until Sheridan's infantry and cavalry appeared in front of his retreating army on April 8. He surrendered his remaining approximately 10000 troops at Appomattox Court House the following morning. Jefferson Davis retreated to North Carolina, then further south. when Lincoln rejected the surrender terms negotiated by general Sherman and envoys of North Carolina governor Zebulon Vance, which failed to mention slavery. Davis was captured on May 10 near Irwinville, Georgia and taken back to Virginia, where he was charged with treason and imprisoned for two years at Fort Monroe until freed on bail.

What was the date before the day Lincoln entered Richmond?