<Tr> <Th> Internet TLD </Th> <Td>. cat </Td> </Tr> <Tr> <Th> Website </Th> <Td> gencat.cat </Td> </Tr> <P> Catalonia (Catalan: Catalunya, Occitan: Catalonha, Spanish: Cataluña) is an autonomous community of Spain located on the northeastern extremity of the Iberian Peninsula . It is one of Spain's eight communities which are designated as a nationality by their Statute of Autonomy . Catalonia consists of four provinces: Barcelona, Girona, Lleida, and Tarragona . The capital and largest city is Barcelona, the second-most populated municipality in Spain and the core of the seventh most populous urban area in the European Union . Catalonia comprises most of the territory of the former Principality of Catalonia (with the remainder Roussillon now part of France's Pyrénées - Orientales). It is bordered by France and Andorra to the north, the Mediterranean Sea to the east, and the Spanish autonomous communities of Aragon to the west and Valencia to the south . The official languages are Catalan, Spanish, and the Aranese dialect of Occitan . </P> <P> In the late 8th century, the counties of the March of Gothia and the Hispanic March were established by the Frankish kingdom as feudal vassals across and near the eastern Pyrenees as a defensive barrier against Muslim invasions . The eastern counties of these marches were united under the rule of the Frankish vassal, the count of Barcelona, and were later called Catalonia . In 1137, Catalonia and the Kingdom of Aragon were united by marriage under the Crown of Aragon, and the Principality of Catalonia became the base for the Crown of Aragon's naval power and expansionism in the Mediterranean . In the later Middle Ages, Catalan literature flourished . Between 1469 and 1516, the king of Aragon and the queen of Castile married and ruled their kingdoms together, retaining all their distinct institutions, courts (parliament), and constitutions . </P>

What is the difference between catalonia and barcelona
find me the text answering this question