qnli question: How long did it take the Emirate to become the Caliphate of Codoba? sentence: After defeating the Visigoths in only a few months, the Umayyad Caliphate started expanding rapidly in the peninsula.