What U.S. political party became virtually defunct as a result of Civil War issues?

What U.S. political party became virtually defunct as a result of Civil War issues?