Arnulf I of Bavaria maintained an alliance with the Hungarians until his death in 899. During their campaigns following their conquest of the Carpathian Basin the Hungarians stopped neither at the river Morava nor at the western border of Pannonia, but penetrated deeply into the territory of Bavaria as far as the river Enns. During the battle of Pressburg on July 4, 907, a Bavarian army was defeated by the Hungarians. The Battle of Lechfeld (10 August 955) was a decisive victory by Otto I the Great, King of the Germans, over the Hungarian leaders. The defeat effectively ended Magyar raids on the West.