Hi , the answer is Herodotus in his The Histories .
Whigs opposed the war because many of them thought that going to war with mexico would encourage slavery expansion and allow the US to gain new southwest territories
Both groups have a very deep history of racial persecution that they and their ancestors went though
Hope this Helps