After settling his dispute with the papacy, John turned his attentions back to France. The European wars ended in defeat at the Battle of Bouvines in July 1214, which forced the king to accept an unfavourable peace with France.