© Sunbeaten History (The History of Costa Blanca) In 711 A.D. the Moors invaded Spain through Gibraltar and would occupy the region of Alicante by 718 A.D. Their occupation was to last nearly four hundred years and would mould the landscape of the region. The Moors introduced irrigation and the planting of oranges, peaches and almond orchards. The terraces seen on the hillsides throughout the region are an everlasting Moor legacy. The Moors would not be completely expelled until 1492, when Ferdinand and Isabella, the Catholic monarchs, finally took control of Granada. In 1095 Spain became part of the North African Berber Empire and for another four hundred years the Moors and Christians would fight over control of Spanish soil. Alicante was gradually regained from the Moors in 1248 by Jaime I of Aragon. After their expulsion, the Moors continued to attack Spain. Between 1500-c1650 Berber pirate attacks were frequent all along the Mediterranean coastline. The first Spanish constitution was written in 1812 and following this the provincial boundaries were established, establishing the regions including Alicante and Murcia as they are today. In 1923, Miguel Primo de Rivera took control of Spain as a dictator, eventually forcing Alfonso XIII into exile. The Spanish Civil War, (1936-1939) would divide the country. Alicante and Murcia would remain supporters of the Republican movement. In 1939, General Francisco Franco, the leader of the Nationalists took control of Spain. During the 1960/70s tourism exploded to nearly 4,000,000 visitors a year.