I'm not completely sure what war you are asking about, but I am going to assume that it was the Civil War (of the United States), where the Confederate States (the South) and the Union (the North) were fighting against each other.
The main goal of the North at the beginning of the war was to abolish slavery.
Hope this helps! :D