In 1463 Rottweil joined the Swiss Confederacy under the pretence of a temporary alliance. In 1476 the Rottweilers fought on the Swiss side against Charles the Bold in the Battle of Morat. In 1512, Pope Julius II gave the city a valuable "Julius banner" for its services in the 1508–1510 "Great Pavier Campaign" to expel the French. In 1519, the Rottweilers left the old Swiss alliance. They joined a new one in which their membership was extended indefinitely – the so-called "Eternal Covenant".