You probably mean Andrew Johnson.
There is no single date for the ending of the Civil War.
Lincoln died six days after Lee's surrender to Grant at Appomattox, which is generally reckoned as the end of hostilities. But there were a few small actions after this, so the answer would strictly be Johnson.
Abraham Lincoln was president during the US Civil War.
Jefferson Davis served as President of the Confederate States throughout the Civil War.
Abraham Lincoln
Lincoln
Davis served President Franklin Pierce as Secretary of War
Secretary of War.
war
Davis served as Secretary of War in the administration of President Franklin Pierce
The civil war general president was Ulysses Grant. He served as the US commander and general of the Union armies. He later on became the 18th US president.
No, he served as a union officer during the war .
Abraham Lincoln
Ulysses S. Grant.