Who joined two kingdoms into Spain?

Maimonides