The state of New Jersey had been strongly opposed to the War of 1812. Most of its representatives in Congress had voted against the declaration of war in June and had cast its electoral vote for James Madison’s opponent that November, even though Madison was a graduate of Princeton University.