The League of Cambrai was a league formed under the leadership of Pope Julius II against Venice in 1508. It included, besides the Pope, Louis XII of France, Emperor Maximilian I, and Ferdinand of Aragon. The League fought a war with Venice between 1508 and 1510. Generally, the League was successful, the only major battle, Agnadello, being a French victory in 1509. The league began to come apart in 1510 when Ferdinand and the Pope swtiched sides, viewing Louis as now a greater threat than Venice, leading to the Holy League.