Regarding Spain, they did not kick out all the Jews.For more than a hundred years Jews had been converting to Christianity, and these Jews did not go away. Many Spaniards had Jewish ancestors, including that very bight light, Teresa of Avila. Ironically the Inquisition, which began to ferret out secret Jews and of course to liberate them of their wealth for the Crown, gradually became an agency that enabled noble family to bury their Jewish pasts, by obtaining certificates of purity. As for its decline, well, having imbeciles on the throne for sixty years will help do that. And of course, the Hapsburgs were always less attentive to Spain than to their imperial interests. This did contribute to the stopping of the Turkish advance in the Med and of course the Austrian branch began the roll-back of the Ottomans in the Balkans.
Good history!