What is now Portugal first became part of the Emirate of Córdoba and then of its successor state , the Caliphate of Córdoba .
Head entity: emirate of córdoba Q1337854 9 10 11
Tail entity: caliphate of córdoba Q171740 20 21 22
Relation (head \u2192 tail): P155
Inverse relation (tail \u2192 head): P156