▁the ▁powerful ▁kingdom s ▁of ▁Cast ile , ▁Arag on ▁and ▁Gran ada . ▁There ▁was ▁also ▁considerable ▁internal ▁inst ability . ▁King ▁I bn ▁Hud ▁decided ▁to ▁make ▁Cast ile ▁a ▁v ass al ▁state . ▁ ▁In ▁April ▁ 1 2 4 3 ▁the ▁Tre aty ▁of ▁Al car az , ▁recogn ising ▁the ▁so vere ig nt y ▁of ▁Cast ile , ▁was ▁signed . ▁Then ▁Alfonso ▁X ▁of ▁Cast ile ▁designated ▁his ▁brother ▁Manuel ▁governor ▁of ▁the ▁town ▁council ▁of ▁A led o , ▁and ▁cons en qu ently ▁ruled ▁the ▁town ▁of ▁Tot ana , ▁which ▁was ▁a ▁sub urb ▁of ▁A led o . ▁ ▁The ▁lack ▁of ▁ge ographic ▁rough ness , ▁which ▁could ▁give ▁defence ▁to ▁Tot ana , ▁and ▁the ▁lack ▁of ▁structures ▁for ▁defence ▁purposes , ▁caused ▁the ▁village ▁to ▁be ▁a ▁dangerous ▁place ▁for ▁living ▁due ▁to ▁mus lim ▁ra ids . ▁The ▁local ity ▁was ▁hardly ▁populated ▁during ▁ 1 4 th ▁and ▁ 1 5 th ▁centuries ▁and ▁people ▁used ▁it ▁as ▁a ▁mer ch and ising ▁trade ▁place . ▁ ▁Tot ana ▁did ▁not ▁obtain ▁the ▁status ▁of ▁villa ▁before ▁the ▁last ▁years ▁of ▁the ▁Re con qu ista . ▁People ▁started ▁to ▁exit ▁the ▁en closed ▁by ▁a ▁wall ▁town ▁of ▁A led o ▁and ▁move ▁to ▁plain ▁lands , ▁to ▁the ▁sub urb ▁of ▁Tot ana ▁from ▁the ▁year ▁ 1 4 9 2 . ▁ ▁During ▁the ▁last ▁dec ades ▁of ▁the ▁Low ▁Middle ▁A ges