Which event caused Great Britain to avoid supporting the Confederacy?

the Union blockade of the Southern coastline

the issuing of the Emancipation Proclamation

the appointment of Ulysses S. Grant as commander

the Confederate loss at Gettysburg