The Alcazar is Spain's most distinctive castle due to its unique shape of the bow of a ship. The Alcazar was initially built as a fortress but has since then also served as a royal palace, a state prison, a Royal Artillery College and a military academy.