The war pitted Francis I of France and the Republic of Venice against the Holy Roman Emperor Charles V, Henry VIII of England, and the Papal States. The conflict arose from animosity over the election of Charles as Emperor in 1519–20 and from Pope Leo X's need to ally with Charles against Martin Luther.