It generally allied itself with ORGANIZATION@1 in order to defend itself from nearby LOCATION@1 , and fought several wars with other neighboring communes , with varying outcomes , including invasion by LOCATION@1 in the 14th century and a brief but unhappy rule of the MISC@1 warlords of LOCATION@2 .

It often fought on the side of ORGANIZATION@1 to defend itself against nearby LOCATION@1 , and fought wars with other communes in the area , winning some and losing some .
