Berengar was the only one of the
reguli (petty kings) to crop up in the aftermath of Charles' deposition besides
Arnulf of Carinthia, his deposer, who was made king before the emperor's death. Charter evidence begins Berengar's reign at
Pavia, in the
Basilica of San Michele Maggiore, between 26 December 887 and 2 January 888, though this has been disputed. Berengar was not the undisputed leading magnate in Italy at the time, but he may have made an agreement with his former rival, Guy of Spoleto, whereby Guy would have West Francia and he Italy on the emperor's death. Both Guy and Berengar were related to the Carolingians in the female line. They represented different factions in Italian politics: Berengar the pro-German and Guy the pro-French. In Summer 888, Guy, who had failed in his bid to take the West Frankish throne, returned to Italy to gather an army of Spoletans and Lombards to oppose Berengar. This he did, but the battle they fought near Brescia in Autumn was a slight victory for Berengar, though his forces were so diminished that he sued for peace nevertheless. The truce was to last until 6 January 889. Arnulf allowed his army to return to Germany, but he himself celebrated Christmas in Friuli, at Karnberg. Early in 889, their truce having expired, Guy defeated Berengar at the Battle of the Trebbia and made himself sole king in Italy, though Berengar maintained his authority in Friuli. Represented by his counsellor Walfred at the city of Verona, he remained master in Friuli, which was always the base of his support. Though Guy had been supported by
Pope Stephen V since before the death of Charles the Fat, he was now abandoned by the pope, who turned to Arnulf. Arnulf, for his part, remained a staunch partisan of Berengar and it has even been suggested that he was creating a Carolingian alliance between himself and Louis of Provence,
Charles III of France, and Berengar against Guy and
Rudolph I of Upper Burgundy. In 893, Arnulf sent his illegitimate son
Zwentibold into Italy. He met up with Berengar and together they cornered Guy at Pavia, but did not press their advantage (it is believed that Guy bribed them off). In 894, Arnulf and Berengar defeated Guy at
Bergamo and took control of Pavia and
Milan. Berengar was with Arnulf's army that invaded Italy in 896. However, he left the army while it was sojourning in the
March of Tuscany and returned to
Lombardy. A rumour spread that Berengar had turned against the king and had brought
Adalbert II of Tuscany with him. The falling out between Berengar and Arnulf, who was crowned Emperor in
Rome by
Pope Formosus, has been likened to that between
Berengar II and
Otto I more than half a century later. Arnulf left Italy in the charge of his young son
Ratold, who soon crossed
Lake Como to Germany, leaving Italy in the control of Berengar, who made a pact with
Lambert, Guy's son and successor. According to the
Gesta Berengarii imperatoris, the two kings met at Pavia in October and November and agreed to divide the kingdom, Berengar receiving the eastern half between the
Adda and the
Po, "as if by hereditary right" according to the
Annales Fuldenses. Bergamo was to be shared between them. This was a confirmation of the
status quo of 889. It was this partitioning which caused the later chronicler
Liutprand of Cremona to remark that the Italians always suffered under two monarchs. As surety for the accord, Lambert pledged to marry Gisela, Berengar's daughter. The peace did not last long. Berengar advanced on Pavia, but was defeated by Lambert at
Borgo San Donnino and taken prisoner. Nonetheless, Lambert died within days, on 15 October 898. Days later Berengar had secured Pavia and become sole ruler. It was during this period that the
Magyars made their first attacks on Western Europe. They invaded Italy first in 899. This first invasion may have been unprovoked, but some historians have suspected that the Magyars were either called in by Arnulf, no friend of Berengar's, or by Berengar himself, as allies. Berengar gathered a large army to meet them and refused their request for an armistice. His army was surprised and routed near the
Brenta River in the eponymous
Battle of the Brenta (24 September 899). This defeat handicapped Berengar and caused the nobility to question his ability to protect Italy. As a result, they supported another candidate for the throne, the aforementioned Louis of Provence, another maternal relative of the Carolingians. In 900, Louis marched into Italy and defeated Berengar; the following year he was crowned Emperor by
Pope Benedict IV. In 902, however, Berengar struck back and defeated Louis, making him promise never to return to Italy. When he broke this oath by invading the peninsula again in 905, Berengar defeated him at
Verona, captured him, and ordered him to be blinded on 21 July. Louis returned to
Provence and ruled for another twenty years as Louis the Blind. Berengar thereby cemented his position as king and ruled undisputed, except for a brief spell, until 922. As king, Berengar made his seat at
Verona, which he heavily fortified. During the years when Louis posed a threat to Berengar's kingship, his wife, Bertila, who was a niece of the former empress
Engelberga, Louis's grandmother, played an important part in the legitimisation of his rule. The bishop attained all the rights of a count in the city. ==Emperor, 915–924==