The Bagli Party or Bagler (Old Norse: Baglarr, Norwegian Bokmål: Bagler, Norwegian Nynorsk: Baglar) was a faction or party during the Norwegian Civil Wars. The Bagler faction was made up principally of the Norwegian aristocracy, clergy and merchants. It was formed in Skåne, then part of Denmark, in 1196 principally by Bishop Nicholas Arnesson of Oslo and Archbishop Erik Ivarsson (ca. 1130–1213) of Nidaros around the pretender Inge Magnusson (nicknamed the Baglar-King) to depose King Sverre Sigurdsson. It contested with the Birkebeiners, essentially a faction of peasants, led by the pretender King Sverre, for control in a Norwegian civil war during the late 12th century. Sverris saga provided Sverre a royal lineage as putative bastard son of the late king Sigurd II of Norway, which in the Norway of the time provided him a claim to the throne. Historians generally agree with the consensus of his time that he was a pretender/ impostor. The civil wars period of Norwegian history lasted from 1130 to 1217. During this period there were several interlocked conflicts of varying scale and intensity. The background for these conflicts were the unclear Norwegian succession laws, social conditions and the struggle between church and king. There were then two main parties, firstly known by varying names or no names at all, but finally condensed into parties of Bagler and Birkebeiner. The rallying point regularly was a royal son, who was set up as the head figure of the party in question, to oppose the rule of the king from the contesting party. From a socio-historical perspective, Bagler can be interpreted as conservatives against the results of developments such as the rapid increase in landless border men (markamenn), who settled along the Swedish border and made their living by pillaging the rich old settlements. That lawless population became the foremost basis of the Birkebeiner. Bagler also favoured the church and its privileges and possessions. Viken and Vestlandet, where social distinctions were growing deeper, were gaining more power at the expense of Trøndelag, a region where the social tensions were not as marked. The wealthier classes, particularly in Viken, were the basis of the Bagler party. The powerful old Trønder families were simply being left behind by their peers in the south, who had acquired a strong leader in the Vestland earl Erling Skakke in the mid-12th century. The antecedents of the Bagli party had been supporting the rule