[citation needed] The affairs became even more complicated by the end of the 11th century driving the state into chaos and constant warfare