The Alcázar of Segovia, located in the central Castile and Leon region of Spain, was originally an Arab fort and became a royal palace for the monarchs of the Kingdom of Castile in the Middle Ages. Queen Isabella I of Castile and King Ferdinand II of Aragon married there. When the royal court moved to Madrid, the Alcázar of Segovia was transformed into a state prison. It later housed the Royal Artillery School in the 18th century and became a military college in 1896. Today, it is one of the major tourist attractions in Segovia.