In the 11th century and again in the mid 12th century , the emirs ( rulers ) of thr taifas competed very much among themselves , not only militarily but also for cultural prestige . During the heyday of the taifas , in the 11th century and again in the mid 12th century , their emirs ( rulers ) competed among themselves , not only militarily but also for cultural prestige .