After putting down a brief civil protest among the rebellious duchies , Otto defeated the Magyars at the Battle of Lechfeld in 955 , thus ending the Hungarian invasions of Western Europe .
Otto I , Holy Roman Emperor engaged in war .