Algeria the People's Democratic Republic of Algeria, is a country in the Maghreb region of North Africa. The capital and most populous city is Algiers, located in the far north of the country on the Mediterranean coast. With an area of 2,381,741 square kilometres, Algeria is the tenth-largest country in the world, the world's largest Arab country, the largest in Africa. Algeria is bordered to the northeast by Tunisia, to the east by Libya, to the west by Morocco, to the southwest by the Western Saharan territory and Mali, to the southeast by Niger, to the north by the Mediterranean Sea; the country is a semi-presidential republic consisting of 1,541 communes. It has the highest human development index of all non-island African countries. Ancient Algeria has known many empires and dynasties, including ancient Numidians, Carthaginians, Vandals, Umayyads, Idrisid, Rustamid, Zirid, Almoravids, Spaniards and the French colonial empire. Berbers are the indigenous inhabitants of Algeria. Algeria is a middle power.
It supplies large amounts of natural gas to Europe, energy exports are the backbone of the economy. According to OPEC Algeria has the 16th largest oil reserves in the world and the second largest in Africa, while it has the 9th largest reserves of natural gas. Sonatrach, the national oil company, is the largest company in Africa. Algeria has one of the largest defence budget on the continent. Algeria is a member of the African Union, the Arab League, OPEC, the United Nations and is a founding member of the Arab Maghreb Union. On 2 April 2019, president Abdelaziz Bouteflika resigned after nearly 20 years in power, following pressure from the country’s army after mass protests against Bouteflika's campaign for a fifth term; the country's name derives from the city of Algiers. The city's name in turn derives from the Arabic al-Jazā'ir, a truncated form of the older Jazā'ir Banī Mazghanna, employed by medieval geographers such as al-Idrisi. In the region of Ain Hanech, early remnants of hominid occupation in North Africa were found.
Neanderthal tool makers produced hand axes in the Levalloisian and Mousterian styles similar to those in the Levant. Algeria was the site of the highest state of development of Middle Paleolithic Flake tool techniques. Tools of this era, starting about 30,000 BC, are called Aterian; the earliest blade industries in North Africa are called Iberomaurusian. This industry appears to have spread throughout the coastal regions of the Maghreb between 15,000 and 10,000 BC. Neolithic civilization developed in the Saharan and Mediterranean Maghreb as early as 11,000 BC or as late as between 6000 and 2000 BC; this life, richly depicted in the Tassili n'Ajjer paintings, predominated in Algeria until the classical period. The mixture of peoples of North Africa coalesced into a distinct native population that came to be called Berbers, who are the indigenous peoples of northern Africa. From their principal center of power at Carthage, the Carthaginians expanded and established small settlements along the North African coast.
These settlements served as market towns as well as anchorages. As Carthaginian power grew, its impact on the indigenous population increased dramatically. Berber civilization was at a stage in which agriculture, manufacturing and political organization supported several states. Trade links between Carthage and the Berbers in the interior grew, but territorial expansion resulted in the enslavement or military recruitment of some Berbers and in the extraction of tribute from others. By the early 4th century BC, Berbers formed the single largest element of the Carthaginian army. In the Revolt of the Mercenaries, Berber soldiers rebelled from 241 to 238 BC after being unpaid following the defeat of Carthage in the First Punic War, they succeeded in obtaining control of much of Carthage's North African territory, they minted coins bearing the name Libyan, used in Greek to describe natives of North Africa. The Carthaginian state declined because of successive defeats by the Romans in the Punic Wars.
In 146 BC the city of Carthage was destroyed. As Carthaginian power waned, the influence of Berber leaders in the hinterland grew. By the 2nd century BC, several large but loosely administered Berber kingdoms had emerged. Two of them were established behind the coastal areas controlled by Carthage. West of Numidia lay Mauretania, which extended across the Moulouya River in modern-day Morocco to the Atlantic Ocean; the high point of Berber civilization, unequaled until the coming of the Almohads and Almoravids more than a millennium was reached during the reign of Masinissa in the 2nd century BC. After Masinissa's death in 148 BC, the Berber kingdoms were reunited several times. Masinissa's line survived until 24 AD, when the remaining Berber territory was annexed to the Roman Empire. For several centuries Algeria was ruled by the Romans. Like the rest of No
Guangzhou known as Canton, is the capital and most populous city of the province of Guangdong in southern China. On the Pearl River about 120 km north-northwest of Hong Kong and 145 km north of Macau, Guangzhou has a history of over 2,200 years and was a major terminus of the maritime Silk Road, continues to serve as a major port and transportation hub, as well as one of China's three largest cities. Guangzhou is at the heart of the most-populous built-up metropolitan area in mainland China that extends into the neighboring cities of Foshan, Dongguan and Shenzhen, forming one of the largest urban agglomerations on the planet. Administratively, the city holds sub-provincial status and is one of China's nine National Central Cities. In 2018 year end, the city's expansive administrative area is estimated at 14,904,400 by city authorities, up 3.8% year on year. Guangzhou is ranked as an Alpha global city. There is a increasing number of foreign temporary residents and immigrants from Southeast Asia, the Middle East, Eastern Europe and Africa.
This has led to it being dubbed the "Capital of the Third World". The domestic migrant population from other provinces of China in Guangzhou was 40% of the city's total population in 2008. Together with Shanghai and Shenzhen, Guangzhou has one of the most expensive real estate markets in China. In the late 1990s and early 2000s, nationals of sub-Saharan Africa who had settled in the Middle East and other parts of Southeast Asia moved in unprecedented numbers to Guangzhou, China in response to the 1997/98 Asian financial crisis. Long the only Chinese port accessible to most foreign traders, Guangzhou fell to the British during the First Opium War. No longer enjoying a monopoly after the war, it lost trade to other ports such as Hong Kong and Shanghai, but continued to serve as a major entrepôt. In modern commerce, Guangzhou is best known for its annual Canton Fair, the oldest and largest trade fair in China. For three consecutive years, Forbes ranked Guangzhou as the best commercial city in mainland China.
Guǎngzhōu is the pinyin romanisation of the Chinese name 廣州, simplified in mainland China to 广州 in the 1950s. The name of the city is taken from the ancient Guang Province, after it had become the prefecture's seat of government, how some other Chinese cities, including Hangzhou and Fuzhou got their names; the character 廣 or 广—which appears in the names of the provinces Guangdong and Guangxi, together called the Liangguang—means "broad" or "expansive" and refers to the intention to dispense imperial grace broadly in the region with the founding of county of Guangxin in Han Dynasty. Before acquiring its current name, the town was known as Panyu, a name still borne by one of Guangzhou's districts not far from the main city; the origin of the name is still uncertain, with 11 various explanations being offered, including that it may have referred to two local mountains. The city has sometimes been known as Guangzhou Fu or Guangfu after its status as the capital of a prefecture. From this latter name, Guangzhou was known to medieval Persians such as Al-Masudi and Ibn Khordadbeh as Khanfu.
Under the Southern Han, the city was renamed Xingwang. The Chinese abbreviation for Guangzhou is "穗", after its nickname "Rice City"; the city has long borne the nickname City of Rams or City of the Five Rams from the five stones at the old Temple of the Five Immortals said to have been the sheep or goats ridden by the Taoist culture heroes credited with introducing rice cultivation to the area around the time of the city's foundation. The former name "City of the Immortals" came from the same story; the more recent City of Flowers is taken as a simple reference to the area's fine greenery. The English name "Canton" derived from Portuguese Cantão or Cidade de Cantão, a muddling of dialectical pronunciations of "Guangdong". Although it and chiefly applied to the walled city, it was conflated with Guangdong by some authors, it was adopted as the Postal Map Romanization of Guangzhou and remained in common use until the gradual adoption of pinyin. As an adjective, it is still used in describing the people, language and culture of Guangzhou and the surrounding Liangguang region.
The 19th-century name "Kwang-chow foo" derived from Nanjing dialect of Mandarin and the town's status as a prefectural capital. A settlement now known as Nanwucheng was present in the area by 1100 BC; some traditional Chinese histories placed Nanwucheng's founding during the reign of Ji Yan, king of Zhou from 314–256 BC. It was said to have consisted of little more than a stockade of mud. Panyu was established on the east bank of the Pearl River in 214 BC to serve as a base for the Qin Empire's first failed invasion of the Baiyue lands in southern China. Legendary accounts claimed the soldiers at Panyu were so vigilant that they did not remove their armor for three years. Upon the fall of the Qin, General Zhao Tuo established his own kingdom of Nanyue and made Panyu its capital in 204 BC, it remained independent through the Chu-Han Contention, although Zhao negotiated recognition of his independence in exchange for his nominal submission to the Han in 196 BC. Archaeological evidence shows that Panyu was an expansive commercial centre: in addition to items from central China, archaeologists have found remains originating from Southeast Asia and Africa.
Zhao Tuo was succeeded by Zhao Mo and Zhao Yingqi. Upon Zhao Yingqi's death in
Rabat is the capital city of Morocco and the country's seventh largest city with an urban population of 580,000 and a metropolitan population of over 1.2 million. It is the capital city of the Rabat-Salé-Kénitra administrative region. Once a reputed corsair haven, Rabat served as one of the many ports in North Africa for the Barbary pirates, who were active from the 16th through the 18th centuries; the city is located on the Atlantic Ocean at the mouth of the river Bou Regreg. On the facing shore of the river lies Salé, the city's main commuter town. Rabat and Salé form a conurbation of over 1.8 million people. Silt-related problems have diminished Rabat's role as a port. In addition and the presence of all foreign embassies in Morocco serve to make Rabat one of the most important cities in the country; the Moroccan capital was ranked at second place by CNN in its "Top Travel Destinations of 2013". It is one of four Imperial cities of Morocco, the medina of Rabat is listed as a World Heritage Site.
Rabat is accessible by train through the ONCF system and by plane through the nearby Rabat–Salé Airport. Rabat has a modern history compared to the nearby ancient city of Salé. In 1146, the Almohad ruler Abd al-Mu'min turned Rabat's ribat into a full-scale fortress to use as a launching point for attacks on Iberia. In 1170, due to its military importance, Rabat acquired the title Ribatu l-Fath, meaning "stronghold of victory," from which it derives its current name. Yaqub al-Mansur, another Almohad Caliph, moved the capital of his empire to Rabat, he built Rabat's city walls, the Kasbah of the Udayas and began construction on what would have been the world's largest mosque. However, Yaqub died and construction stopped; the ruins of the unfinished mosque, along with the Hassan Tower, still stand today. Yaqub's death initiated a period of decline; the Almohad empire lost control of its possessions in Spain and much of its African territory leading to its total collapse. In the 13th century, much of Rabat's economic power shifted to Fez.
In 1515 a Moorish explorer, El Wassan, reported that Rabat had declined so much that only 100 inhabited houses remained. An influx of Moriscos, expelled from Spain, in the early 17th century helped boost Rabat's growth. Rabat and neighboring Salé united to form the Republic of Bou Regreg in 1627; the republic was run by Barbary pirates who used the two cities as base ports for launching attacks on shipping. The pirates did not have to contend with any central authority until the Alaouite Dynasty united Morocco in 1666; the latter failed. European and Muslim authorities continued to attempt to control the pirates over many years, but the Republic of Bou Regreg did not collapse until 1818. After the republic's collapse, pirates continued to use the port of Rabat, which led to the shelling of the city by Austria in 1829 after an Austrian ship had been lost to a pirate attack; the French established a protectorate. The French administrator of Morocco, General Hubert Lyautey, decided to relocate the country's capital from Fez to Rabat.
Among other factors, rebellious citizens had made Fez an unstable place. Sultan Moulay Youssef moved his residence to Rabat. In 1913, Gen. Lyautey hired Henri Prost; when Morocco achieved independence in 1955, Mohammed V, the King of Morocco, chose to have the capital remain at Rabat. Following World War II, the United States established a military presence in Rabat at the former French air base. By the early 1950s, Rabat Salé Air Base was a U. S. Air Force installation hosting the 17th Air Force and the 5th Air Division, which oversaw forward basing for Strategic Air Command B-47 Stratojet aircraft in the country. With the destabilization of French government in Morocco, Moroccan independence in 1956, the government of Mohammed V wanted the U. S. Air Force to pull out of the SAC bases in Morocco, insisting on such action after American intervention in Lebanon in 1958; the United States agreed to leave as of December 1959, was out of Morocco by 1963. SAC felt the Moroccan bases were much less critical with the long range capability of the B-52 Stratofortresses that were replacing the B-47s and with the completion of the USAF installations in Spain in 1959.
With the USAF withdrawal from Rabat-Salé in the 1960s, the facility became a primary facility for the Royal Moroccan Air Force known as Air Base Nº 1, a status it continues to hold. Rabat is an administrative city, it does have residential neighbourhoods. The geographically spread out neighbourhoods are as follows: The heart of the city consists of three parts: the Medina. To the west, along the waterfront, there is a succession of neighbourhoods. First, around the ramparts, there is the old neighbourhoods, Quartier l'Océan and Quartier les Orangers. Beyond that, a succession of working-class districts: Diour Jamaa, Yacoub El Mansour and Hay el Fath are the main parts of this axis. Hay el Fath, which ends this sequence, evolves into a middle-class neighbourhood. To the east, along the Bouregreg, the Youssoufia region: Mabella. Between the two axes, from north to south, there are three main neighbourhoods
Brazil the Federative Republic of Brazil, is the largest country in both South America and Latin America. At 8.5 million square kilometers and with over 208 million people, Brazil is the world's fifth-largest country by area and the fifth most populous. Its capital is Brasília, its most populated city is São Paulo; the federation is composed of the union of the 26 states, the Federal District, the 5,570 municipalities. It is the largest country to have Portuguese as an official language and the only one in the Americas. Bounded by the Atlantic Ocean on the east, Brazil has a coastline of 7,491 kilometers, it borders all other South American countries except Ecuador and Chile and covers 47.3% of the continent's land area. Its Amazon River basin includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, extensive natural resources spanning numerous protected habitats; this unique environmental heritage makes Brazil one of 17 megadiverse countries, is the subject of significant global interest and debate regarding deforestation and environmental protection.
Brazil was inhabited by numerous tribal nations prior to the landing in 1500 of explorer Pedro Álvares Cabral, who claimed the area for the Portuguese Empire. Brazil remained a Portuguese colony until 1808, when the capital of the empire was transferred from Lisbon to Rio de Janeiro. In 1815, the colony was elevated to the rank of kingdom upon the formation of the United Kingdom of Portugal and the Algarves. Independence was achieved in 1822 with the creation of the Empire of Brazil, a unitary state governed under a constitutional monarchy and a parliamentary system; the ratification of the first constitution in 1824 led to the formation of a bicameral legislature, now called the National Congress. The country became a presidential republic in 1889 following a military coup d'état. An authoritarian military junta came to power in 1964 and ruled until 1985, after which civilian governance resumed. Brazil's current constitution, formulated in 1988, defines it as a democratic federal republic. Due to its rich culture and history, the country ranks thirteenth in the world by number of UNESCO World Heritage Sites.
Brazil is considered an advanced emerging economy. It has the ninth largest GDP in the world by nominal, eight and PPP measures, it is one of the world's major breadbaskets, being the largest producer of coffee for the last 150 years. It is classified as an upper-middle income economy by the World Bank and a newly industrialized country, with the largest share of global wealth in Latin America. Brazil is a regional power and sometimes considered a great or a middle power in international affairs. On account of its international recognition and influence, the country is subsequently classified as an emerging power and a potential superpower by several analysts. Brazil is a founding member of the United Nations, the G20, BRICS, Union of South American Nations, Organization of American States, Organization of Ibero-American States and the Community of Portuguese Language Countries, it is that the word "Brazil" comes from the Portuguese word for brazilwood, a tree that once grew plentifully along the Brazilian coast.
In Portuguese, brazilwood is called pau-brasil, with the word brasil given the etymology "red like an ember", formed from brasa and the suffix -il. As brazilwood produces a deep red dye, it was valued by the European textile industry and was the earliest commercially exploited product from Brazil. Throughout the 16th century, massive amounts of brazilwood were harvested by indigenous peoples along the Brazilian coast, who sold the timber to European traders in return for assorted European consumer goods; the official Portuguese name of the land, in original Portuguese records, was the "Land of the Holy Cross", but European sailors and merchants called it the "Land of Brazil" because of the brazilwood trade. The popular appellation eclipsed and supplanted the official Portuguese name; some early sailors called it the "Land of Parrots". In the Guarani language, an official language of Paraguay, Brazil is called "Pindorama"; this was the name the indigenous population gave to the region, meaning "land of the palm trees".
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of Pedro Leopoldo, Minas Gerais and provide evidence of human habitation going back at least 11,000 years. The earliest pottery found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago; the pottery was found near Santarém and provides evidence that the tropical forest region supported a complex prehistoric culture. The Marajoara culture flourished on Marajó in the Amazon delta from 800 CE to 1400 CE, developing sophisticated pottery, social stratification, large populations, mound building, complex social formations such as chiefdoms. Around the time of the Portuguese arrival, the territory of current day Brazil had an estimated indigenous population of 7 million people semi-nomadic who subsisted on hunting, fishing and migrant agriculture; the indigenous population of Brazil comprised several large indigenous ethnic groups. The Tupí people were subdivided into the Tupiniquins and Tupinambás, there were many subdivisions of the other gro
Tripoli is the capital city and the largest city of Libya, with a population of about 1.158 million people in 2018. It is located in the northwest of Libya on the edge of the desert, on a point of rocky land projecting into the Mediterranean Sea and forming a bay, it includes the port of the country's largest commercial and manufacturing centre. It is the site of the University of Tripoli; the vast Bab al-Azizia barracks, which includes the former family estate of Muammar Gaddafi, is located in the city. Colonel Gaddafi ruled the country, from his residence in this barracks. Tripoli was founded in the 7th century BC by the Phoenicians. Due to the city's long history, there are many sites of archaeological significance in Tripoli. Tripoli may refer to the shabiyah, the Tripoli District. Tripoli is known as Tripoli-of-the-West, to distinguish it from its Phoenician sister city Tripoli, known in Arabic as Ṭarābulus al-Sham, meaning "Levantine Tripoli", it is affectionately called "The Mermaid of the Mediterranean", describing its turquoise waters and its whitewashed buildings.
Tripoli is a Greek name that means "Three Cities", introduced in Western European languages through the Italian Tripoli. In Arabic, it is called Ṭarābulus; the city was founded in the 7th century BC, by the Phoenicians, who gave it the Libyco-Berber name Oea, The Phoenicians were attracted to the site by its natural harbour, flanked on the western shore by the small defensible peninsula, on which they established their colony. The city passed into the hands of the rulers of Cyrenaica, although the Carthaginians wrested it from the Greeks. By the latter half of the 2nd century BC it belonged to the Romans, who included it in their province of Africa, gave it the name of "Regio Syrtica". Around the beginning of the 3rd century AD, it became known as the Regio Tripolitana, meaning "region of the three cities", namely Oea and Leptis Magna, it was raised to the rank of a separate province by Septimius Severus, a native of Leptis Magna. In spite of centuries of Roman habitation, the only visible Roman remains, apart from scattered columns and capitals, is the Arch of Marcus Aurelius from the 2nd century AD.
The fact that Tripoli has been continuously inhabited, unlike e.g. Sabratha and Leptis Magna, has meant that the inhabitants have either quarried material from older buildings, or built on top of them, burying them beneath the streets, where they remain unexcavated. There is evidence to suggest that the Tripolitania region was in some economic decline during the 5th and 6th centuries, in part due to the political unrest spreading across the Mediterranean world in the wake of the collapse of the Western Roman empire, as well as pressure from the invading Vandals. According to al-Baladhuri, Tripoli was, unlike Western North Africa, taken by the Muslims early after Alexandria, in the 22nd year of the Hijra, between 30 November 642 and 18 November 643 AD. Following the conquest, Tripoli was ruled by dynasties based in Cairo and Kairouan in Ifriqiya. For some time it was a part of the Berber Almohad empire and of the Hafsids kingdom. In 1510, it was taken by Pedro Navarro, Count of Oliveto for Spain, and, in 1530, it was assigned, together with Malta, to the Knights of St. John, expelled by the Ottoman Turks from their stronghold on the island of Rhodes.
Finding themselves in hostile territory, the Knights enhanced the city's walls and other defenses. Though built on top of a number of older buildings, much of the earliest defensive structures of the Tripoli castle are attributed to the Knights of St John. Having combated piracy from their base on Rhodes, the reason that the Knights were given charge of the city was to prevent it from relapsing into the nest of Barbary pirates it had been prior to the Spanish occupation; the disruption the pirates caused to the Christian shipping lanes in the Mediterranean had been one of the main incentives for the Spanish conquest of the city. The knights kept the city with some trouble until 1551, when they were compelled to surrender to the Ottomans, led by Muslim Turk Turgut Reis. Turgut Reis served as pasha of Tripoli, during his rule he adorned and built up the city, making it one of the most impressive cities along the North African Coast. Turgut was buried in Tripoli after his death in 1565, his body was taken from Malta, where he had fallen during the Ottoman siege of the island, to a tomb in the mosque he had established close to his palace in Tripoli.
The palace has since disappeared, but the mosque, along with his tomb, still stands, close to the Bab Al-Bahr gate. After the capture by the Ottoman Turks, Tripoli once again became a base of operation for Barbary pirates. One of several Western attempts to dislodge them again was a Royal Navy attack under John Narborough in 1675, of which a vivid eye-witness account has survived. Effective Ottoman rule during this period (1551
Algiers is the capital and largest city of Algeria. In 2011, the city's population was estimated to be around 3,500,000. An estimate puts the population of the larger metropolitan city to be around 5,000,000. Algiers is located in the north-central portion of Algeria. Algiers is situated on the west side of a bay of the Mediterranean Sea; the modern part of the city is built on the level ground by the seashore. The casbah and the two quays form a triangle; the city's name is derived via French and Catalan Alger from the Arabic name Al-Jazā’ir, "The Islands". This name refers to the four former islands which lay off the city's coast before becoming part of the mainland in 1525. Al-Jazā’ir is itself a truncated form of the city's older name Jaza'ir Bani Mazghana, "The Islands of the Sons of Mazghana", used by early medieval geographers such as al-Idrisi and Yaqut al-Hamawi. In antiquity, the Greeks knew the town as Ikosion, Latinized as Icosium under Roman rule; the Greeks explained the name as coming from their word for "twenty" because it had been founded by 20 companions of Hercules when he visited the Atlas Mountains during his labors.
In fact, the name transcribed the Punic name ʿWYKSM, "Seagull Island", again named after the site's former islands. Algiers is known as El-Behdja or "Algiers the White" for its whitewashed buildings, seen rising from the sea. A small Phoenician colony on Algiers's former islands was established and taken over by the Carthaginians sometime before the 3rd century BC. After the Punic Wars, the Romans took over administration of the town, which they called Icosium, its ruins now form part of the modern city's marine quarter, with the Rue de la Marine following a former Roman road. Roman cemeteries existed near Bab Azoun; the city was given Latin rights by the emperor Vespasian. The bishops of Icosium are mentioned as late as the 5th century, but the ancient town fell into obscurity during the Muslim conquest of North Africa; the present city was founded in 944 by Bologhine ibn Ziri, the founder of the Berber Zirid–Sanhaja dynasty. He had earlier built a Sanhaja center at Ashir, just south of Algiers.
Although his Zirid dynasty was overthrown by Roger II of Sicily in 1148, the Zirids had lost control of Algiers to their cousins the Hammadids in 1014. The city was wrested from the Hammadids by the Almohads in 1159, in the 13th century came under the dominion of the Ziyanid sultans of Tlemcen. Nominally part of the sultanate of Tlemcen, Algiers had a large measure of independence under amirs of its own due to Oran being the chief seaport of the Ziyanids; the Peñón of Algiers, an islet in front of Algiers harbour had been occupied by the Spaniards as early as 1302. Thereafter, a considerable amount of trade began to flow between Spain. However, Algiers continued to be of comparatively little importance until after the expulsion of the Moors from Spain, many of whom sought asylum in the city. In 1510, following their occupation of Oran and other towns on the coast of Africa, the Spaniards fortified the islet of Peñon and imposed a levy intended to suppress corsair activity. In 1516, the amir of Algiers, Selim b.
Teumi, invited the corsair brothers Aruj and Hayreddin Barbarossa to expel the Spaniards. Aruj came to Algiers, ordered the assassination of Selim, seized the town and ousted the Spanish in the Capture of Algiers. Hayreddin, succeeding Aruj after the latter was killed in battle against the Spaniards in the Fall of Tlemcen, was the founder of the pashaluk, which subsequently became the beylik, of Algeria. Barbarossa lost Algiers in 1524 but regained it with the Capture of Algiers, formally invited the Sultan Suleiman the Magnificent to accept sovereignty over the territory and to annex Algiers to the Ottoman Empire. Algiers from this time became the chief seat of the Barbary pirates. In October 1541 in the Algiers expedition, the King of Spain and Holy Roman Emperor Charles V sought to capture the city, but a storm destroyed a great number of his ships, his army of some 30,000, chiefly made up of Spaniards, was defeated by the Algerians under their Pasha, Hassan. Formally part of the Ottoman Empire but free from Ottoman control, starting in the 16th century Algiers turned to piracy and ransoming.
Due to its location on the periphery of both the Ottoman and European economic spheres, depending for its existence on a Mediterranean, controlled by European shipping, backed by European navies, piracy became the primary economic activity. Repeated attempts were made by various nations to subdue the pirates that disturbed shipping in the western Mediterranean and engaged in slave raids as far north as Iceland; the United States fought two wars over Algiers' attacks on shipping. Among the notable people held for ransom was the future Spanish novelist Miguel de Cervantes, captive in Algiers five years, who wrote two plays set in Algiers of the period; the primary source for knowledge of Algiers of this period, since there are no contemporary local sources, is the Topografía e historia general de Argel, published by Diego de Haedo, but whose authorship is disputed. This work describes in detail the city, the behavior of its inhabitants, its military defenses, with the unsuccessful hope of facilitating an attack by Spain so as to end the piracy.