Why was medieval Spain so prosperous compared to the rest of western Europe?

by [deleted]
mrhumphries75

What period are you interested in?