This state was well-functioning, and the nation's military power allowed the Hungarians to conduct successful fierce campaigns and raids, from Constantinople to as far as today's Spain. The Hungarians defeated no fewer than three major East Frankish imperial armies between 907 and 910. A later defeat at the Battle of Lechfeld in 955 signaled a provisory end to most campaigns on foreign territories, at least towards the West.