and held out for a year and a half: Bishop Sisnando of Compostela died fighting him, and his successor St Rudesind carried on the struggle until Count Gonzalo Sánchez defeated the invaders and killed Gunrod himself. Count Sánchez destroyed the entire fleet of Gunrod. In 1008, Norman Vikings attacked Galicia, destroying Santiago de Compostela and seventeen other towns, while Olaf Haraldsson of Norway raided Spain's Atlantic coast. There are also reports of a series of attacks on the Christian lands of north Spain in 1028, 1032, and 1038, and the Christian kingdoms in the north commonly used Vikings as mercenaries in their internecine wars. The County of Castile split off in 931, the County of Portugal separated to become the independent Kingdom of Portugal in 1139 and the eastern, inland part of León was joined to the Kingdom of Castile in 1230. From 1296 to 1301, the Kingdom of León was again independent and after the re-union with Castile remained a Crown until 1833, but as part of a united Spain from 1479. In the Royal Decree of 30 November 1833, the Kingdom of León was considered one of the Spanish regions and divided into the provinces of León, Zamora and Salamanca. In 1978, these three provinces of the region of León were included along with six provinces of the historic region of Old Castile to create the autonomous community of Castile and León. However, significant parts of the former kingdom today integrate these three provinces and the autonomous communities of Extremadura, Galicia and Asturias, in Spain, in addition to northern Portugal. Background The city of León was founded by the Roman Seventh Legion (usually written as Legio Septima Gemina ("twin seventh legion"). It was the headquarters of that legion in the Late Roman Empire and was a centre for trade in gold, which was mined at Las Médulas nearby. In 540, the city was conquered by the Arian Visigothic king Liuvigild, who did not harass the already well-established Roman Catholic population. In 717, León fell again, this time to the Moors. However, León was one of the first cities retaken during the Christian reconquest of the Iberian peninsula, and became part of the Kingdom of Asturias in 742. León was a small town during this time, but one of the few former Roman cities in the Kingdom of Asturias which still held significance (the surviving Roman walls bear the