How Many Years Did the Civil War Last?

The civil war lasted about 4 years. If was from 1861 to 1865. It was a war between the Union and the Confederate States. The major point of conflict was over slavery.