That year the west of the empire gained its independence under Abd-ar-Rahman I with the establishment of the Emirate of Córdoba