Besides the Pyrenees, what area had Catalan covered by the 9th century?
From the 8th century onwards the Catalan counts extended their territory southwards and westwards at the expense of the Muslims, bringing their language with them.