In the early years of the Republic, Anglophobia was particularly associated with the Jeffersonian Republicans in the 1790s, who warned that close ties with Great Britain were especially dangerous because that nation was an enemy of American Republicanism. By contrast, the opposing Federalist party warned that the Jeffersonians were too sympathetic to the radicalism of the French Revolution. The Origins of the War of 1812 involved claimed violations against American neutrality by the United Kingdom during the Napoleonic Wars. The Treaty of Ghent, ratified in 1815 and ending the War of 1812, established peaceful relations for the two countries that has lasted more than two centuries, though this was stressed at times in the years following the treaty by events such as the Trent Affair of 1861 and the Fenian Raids in 1866-1871.