After Republican President Abraham Lincoln defeated the Confederacy, many Southern Democrats said they would rather “vote for a yellow dog before they would vote for any Republican.”
Today, the term refers to loyal Democratic voters who vote the straight party line.