The rule of the Caliphate of Cordoba was peaceful and tolerant. Jews, Christians, and Muslims lived, worked, and wrote in a "garden protected by the spears of Islam." The Caliphate's 1031 collapse gave Christian armies the upper hand, and foretold the end of convivencia between the faiths.