Instruct: Given a question, retrieve documents that answer the question.
Query: When did Spain occupy the Philippines?
The history of the Philippines from 1521 to 1898, also known as the Spanish colonial period, was a period during which Spain controlled the Philippine islands as the Captaincy General of the Philippines, initially under New Spain until Mexican independence in 1821, which gave Madrid direct control over the area. It was also known as Spanish East Indies to the colonialists. It started with the arrival in 1521 of European explorer Ferdinand Magellan sailing for Spain, which heralded the period when the Philippines was a colony of the Spanish Empire, and ended with the outbreak of the Philippine Revolution in 1898, which marked the beginning of the American colonial era of Philippine history.
The Spanish then conducted the centuries long Spanish-Moro Conflict against the Sultanates of Maguindanao, Lanao and Sulu. War was also waged against the Sultanate of Ternate and Tidore (in response to Ternatean slaving and piracy against Spain's allies: Bohol and Butuan). During the Spanish-Moro conflict, the Moros of Muslim Mindanao conducted piracy and slave-raids against Christian settlements in the Philippines. The Spanish fought back by establishing Christian fort-cities such as Zamboanga City on Muslim Mindanao. The Spanish considered their war with the Muslims in Southeast Asia an extension of the Reconquista, a centuries-long campaign to retake and rechristianize the Spanish homeland which was invaded by the Muslims of the Umayyad Caliphate. The Spanish expeditions into the Philippines were also part of a larger Ibero-Islamic world conflict that included a rivalry with the Ottoman Caliphate, which had a center of operations at its nearby vassal, the Sultanate of Aceh.
Following the reconquista, a period during which Spanish and Christian culture were restored to those areas of Spain invaded by the Umayyad Caliphate, the Inquisition required Jews and Muslims to convert to Roman Catholicism, or face exile or the death penalty. Thus, the Spaniards tried to suppress Islam in areas they conquered. To this end, they attacked the Moro Muslim sultanates in the south at Mindanao. The Moro Datus and sultans raided and pillaged Spanish towns in the northern Philippine islands in retaliation for Spanish attacks, and terrorized the Spanish invaders with constant piracy. The Spanish were prepared to conquer Mindanao and the Moluccas after establishing forts in 1635, but the Chinese threatened the Spanish with invasion, forcing them to pull back to defend Manila. Several thousand Chinese who were evicted by the Spanish joined the Moros.
The Spanish considered their war with the Muslims in Southeast Asia an extension of the Reconquista, a centuries-long campaign to retake and rechristianize the Spanish homeland which was invaded by the Muslims of the Umayyad Caliphate. The Spanish expeditions into the Philippines were also part of a larger Ibero-Islamic world conflict that included a war against the Ottoman Caliphate which had just invaded former Christian lands in the Eastern Mediterranean and which had a center of operations in Southeast Asia at its nearby vassal, the Sultanate of Aceh.
An early opportunity for Spain to enter China presented itself when the Chinese pirate Limahong attacked Manila in 1574. As Limahong was wanted by the Chinese authorities, officials in Fujian province were willing to let the Spanish establish a trade port on an island south of Xiamen in return for Limahong's capture. However, the governor of the Philippines at the time did not respond favourably, and the offer came to nothing when Limahong escaped from Manila. In the 1590s, the need for a Spanish base in China gained new urgency as Japan, ruled by the militant regent Toyotomi Hideyoshi, invaded Korea and threatened to conquer Ryukyu, China, Taiwan, and the Spanish Philippines. The "San Felipe" incident of 1596 and the subsequent execution of Franciscan friars in Nagasaki all but confirmed Japan's hostile intentions in Spanish eyes, and even the death of Hideyoshi in 1598 did not alleviate these fears. Thus, in 1598, governor Francisco de Tello de Guzmán sent Juan de Zamudio to the coast of China not only to establish trade, but also to warn Chinese authorities of possible Japanese aggression in its southern coast.
When Democrat Woodrow Wilson became U.S. president in 1913, new policies were launched designed to gradually lead to Philippine independence. In 1902 U.S. law established Filipinos citizenship in the Philippine Islands; unlike Hawaii in 1898 and Puerto Rico in 1918, they did not become citizens of the United States. The Jones Law of 1916 became the new basic law, promised eventual independence. It provide for the election of both houses of the legislature.In socio-economic terms, the Philippines made solid progress in this period. Foreign trade had amounted to 62 million pesos in 1895, 13% of which was with the United States. By 1920, it had increased to 601 million pesos, 66% of which was with the United States. A health care system was established which, by 1930, reduced the mortality rate from all causes, including various tropical diseases, to a level similar to that of the United States itself. The practices of slavery, piracy and headhunting were suppressed but not entirely extinguished.
A new educational system was established with English as the medium of instruction, eventually becoming a "lingua franca" of the Islands. The 1920s saw alternating periods of cooperation and confrontation with American governors-general, depending on how intent the incumbent was on exercising his powers vis-à-vis the Philippine legislature. Members to the elected legislature lobbied for immediate and complete independence from the United States. Several independence missions were sent to Washington, D.C. A civil service was formed and was gradually taken over by Filipinos, who had effectively gained control by 1918.
The Philippine Revolutionary Government did not recognize the treaty or American sovereignty, and subsequently fought and lost a conflict with the United States originally referred to by the Americans as the "Philippine Insurrection" but now generally and officially called the Philippine–American War, which ended when Emilio Aguinaldo was captured by U.S. forces, and issued a statement acknowledging and accepting the sovereignty of the United States over the Philippines. This was then followed on July 2, 1902, by U.S. Secretary of War Elihu Root telegraphing that the insurrection the United States had come to an end and that provincial civil governments had been established everywhere except those areas inhabited by Moro tribes. Pockets of resistance continued for several years.
In September 1762, the British invaded the Philippines and took over the Spanish main naval base in Manila Bay. This prompted the Spanish military to scout for the next promising naval station. The expedition returned with the good news for the naval command - a natural bounty and deep waters at Subic Bay. King Alfonso XII issued a decree in 1884 that declared Subic as "a naval port and the property appertaining thereto set aside for naval purposes." Construction of an arsenal and ship repair yard ensued March 8 the following year, as ordered by the new settlers' Naval Commission. Subic Bay's potential as naval station was realized by the Americans. Commodore George Dewey and his men engaged in a battle that destroyed the Spanish Army in 1898, and the Americans took over Subic Bay on December 10, 1899.
After the War in the Philippines the Commonwealth was restored and a one-year transitional period in preparation for independence began. Elections followed in April 1946 with Manuel Roxas winning as the first president of the independent Republic of the Philippines and Elpidio Quirino winning as vice-president. In spite of the years of Japanese occupation, the Philippines became independent exactly as scheduled a decade before, on July 4, 1946.
The present territory of Davao Oriental was covered by the historical region of Caraga, which was under the Sultanate of Maguindanao. The Spaniards established a permanent settlement in the region in 1591, and in 1844, the area was ceded by the Sultanate to Spain. An expedition was sent by the colonial government in Manila in 1847 to control the region, led by the Spaniard Jose Oyanguren, who settled in the town of Davao and organized the surrounding areas into the province of Nueva Guipozcoa in 1849. The province existed until 1858, when the politico-military "commandancia"s of Davao and Bislig were created in its place. Bislig was incorporated into the District of Davao two years later.
In 1866, Leopold instructed the Belgian ambassador in Madrid to speak to Queen Isabella II of Spain about ceding the Philippines to Belgium. Knowing the situation fully, the ambassador did nothing. Leopold quickly replaced the ambassador with a more sympathetic individual to carry out his plan. In 1868, when Isabella II was deposed as queen of Spain, Leopold tried to press his original plan to acquire the Philippines. But without funds, he was unsuccessful. Leopold then devised another unsuccessful plan to establish the Philippines as an independent state, which could then be ruled by a Belgian. When both of these plans failed, Leopold shifted his aspirations of colonisation to Africa.
After the Moors lost control of Spain, King Philip II made treaties with them allowing them to practice their religion if they gave up their sovereignty, signing the Treaty of Granada in 1491. The Catholic monarchs however, abrogated the treaties and threatened to expel the Moors if they did not become Christians. The Moors did so, but continued speaking Arabic, and using Aljamiado alphabet for spoken Spanish. Some followed Islam in secret (Crypto-Islam). They were later referred to as "Moriscos", Moors and their descendants who converted to Christianity rather than be expelled. Religious conversion was simply not enough for the Catholic monarchs. Phillip II implemented a policy to fully assimilate the Moriscos into the Christian Spanish population and eliminate Moorish and Arab culture from Spain. The Moriscos were forced to abandon their Arabic names and adopt a completely Hispanized heritage and give up their children to be educated by priests. Philip II also made speaking Arabic illegal in the kingdom, ordered all Arabic texts to be burned, and banned Moorish attire. After a failed revolt by Morisco leader Aben Humeya (or Ibn Umayyah) in 1568, the Christian monarchs expelled the Moriscos from Spain. Many of these Moriscos headed for North Africa, mainly in Morocco, where many of their descendants settled.
Following the end of World War II, the United States granted independence to the Philippines on 4 July 1946 via the Treaty of Manila. July 4 was observed in the Philippines as "Independence Day" until August 4, 1964 when, upon the advice of historians and the urging of nationalists, President Diosdado Macapagal signed into law Republic Act No. 4166 designating June 12 as the country's "Independence Day". June 12 had previously been observed as "Flag Day" and many government buildings are urged to display the Philippine Flag in their offices.
Philip II, through his mother Isabella of Portugal also a grandson of Manuel I, did not recognize Antonio as king of Portugal. 
The king appointed Fernando, Duke of Alba, as captain general of his army. The duke was 73 years old and ill at the time. Fernando mustered his forces, estimated at 20,000 men, in Badajoz, and in June 1580 crossed the Spanish-Portuguese border and moved to Lisbon. In late August he defeated a Portuguese army at the Battle of Alcântara and entered Lisbon. This cleared the way for Philip II who became Philip I of Portugal, and created a dynastic union spanning all of Iberia under the Spanish crown.
The May Revolution was a direct reaction to Spain's Peninsular War. In 1808, King Ferdinand VII of Spain abdicated in favor of Napoleon, who granted the throne to his brother, Joseph Bonaparte. A Supreme Central Junta led resistance to Joseph's government and the French occupation of Spain, but eventually suffered a series of reversals that resulted in the Spanish loss of the northern half of the country. On February 1, 1810, French troops took Seville and gained control of most of Andalusia. The Supreme Junta retreated to Cadiz and dissolved itself, and the Council of Regency of Spain and the Indies replaced it. News of these events arrived in Buenos Aires on May 18, brought by British ships.
Spain, it has been observed, is a nation-state born out of religious struggle mainly between Catholicism and Islam, but also against Judaism (and, to a lesser extent, Protestantism). The Reconquista against Al Andalus (ending in 1492), the establishment of the Spanish Inquisition (1478) and the expulsion of Jews (1492) were highly relevant in the union of Castile and Aragon under the "Catholic Monarchs" Isabel and Fernando (1492), followed by the persecution and eventual expulsion of the Moriscos in 1609. The Counter-Reformation (1563–1648) was especially strong in Spain and the Inquisition was not definitively abolished until 1834, thus keeping Islam, Judaism, Protestantism and parts of Enlightenment at bay for most of its history.
After Philip II made Madrid the capital city of the Spanish Empire in 1561, the city experienced rapid growth. As Spain (like many other European countries) continued to centralize royal authority, particularly under the Bourbon monarchs, Madrid took on greater importance as a center of administration for Spain. It was sometimes described as an "economic parasite", sucking in the resources of the empire without directly generating wealth.
In the early 1930s, Gibbons argued that an American withdrawal from the Philippines would be futile, because Japan would immediately colonize the country if the United States were to pull out. In 1931, in a speech in Manila, Gibbons referred to the Philippine calls for independence as "claptrap." He said that if the United States were to withdraw, then it might as well negotiate with the League of Nations to hand the Philippines over to Japan as a mandate. The American business community roundly praised Gibbons' speech. However, Philippine nationalist leaders attacked Gibbons, saying that he was raising the "Japanese bogy" as a hurdle to Philippine independence. (Ultimately, the United States did not grant Philippine independence until 1946, after Japan was no longer a military threat to the former colony.)
West Florida was declared to be a U.S. possession in 1810 by President James Madison after the territory had declared its independence from Spain. Madison ordered the U.S. Army to take control. Six weeks later, the army entered and occupied the capital, St. Francisville, putting an end to the republic after 74 days of independence. Spain did not relinquish its claim to sovereignty (see West Florida Controversy) until ratification of the Adams–Onís Treaty. General Andrew Jackson personally accepted the delivery of West Florida from its Spanish governor on July 17, 1821.
The centre of Spanish military power shifted dramatically in the early 18th century. The War of the Spanish Succession (1701–1714) was both a civil and international war in which the French backed the Bourbon contender for the Spanish throne and an alliance led by Austria, the Netherlands and Britain backed the Habsburg contender while a divided Spain fought on both sides. The war secured the Spanish throne for the Bourbon Philip as Philip V of Spain at the Peace of Utrecht but in the war's settlement, Spain had to give up the Spanish Netherlands, Naples, Milan, Sardinia, Sicily, Gibraltar and Menorca to the Habsburg allies. Spain's defeat by the combined alliance of France, Britain, the Netherlands and Austria in the War of the Quadruple Alliance (1718–1720) confirmed the decline from her former dominance, whilst the successful deployment of the Britain's Royal Navy into the Mediterranean, by exploiting the fortress of Gibraltar, gained in 1704 by an Anglo-Dutch force during the war of succession, would create considerable difficulties in the following years.
Ancient Malaysian and Indonesian cultures and civilizations in ancient Malaya, Sumatra and Java influenced the history, lifestyles, and culture of the Filipino peoples. The Malay language, along with Philippine languages belonging to the Malayo-Polynesian language family, has also had an immense influence on many languages spoken in the Philippines. This is because Old Malay used to be the lingua franca throughout the archipelago, a good example of this is Magellan's translator Enrique using Malay to converse with the native "Sugbuanon" (Cebuano) during this time period.
When the treaty of Paris was signed on December 10, 1898, wherein Spain sold the Philippines to the United States for 20 million dollars, the funding of Culion as a reservation is closely related to the early efforts of the Americans to establish some form of public health policy in the Philippines as part of their long-term intentions to occupy the archipelago.
Spanish rule ended in 1898 with Spain's defeat in the Spanish–American War. The Philippines then became a territory of the United States. U.S forces suppressed a Philippine Revolution led by Emilio Aguinaldo. The United States established the Insular Government to rule the Philippines. In 1907, the elected Philippine Assembly was set up with popular elections. The U.S. promised independence in the Jones Act. The Philippine Commonwealth was established in 1935, as a 10-year interim step prior to full independence. However, in 1942 during World War II, Japan occupied the Philippines. The U.S. military overpowered the Japanese in 1945. The Treaty of Manila in 1946 established an independent Philippine Republic.
By 1913, the British crown had occupied Burma, Malaya and the northern Borneo territories, the French controlled Indochina, the Dutch ruled the Netherlands East Indies while Portugal managed to hold on to Portuguese Timor. In the Philippines, the 1872 Cavite Mutiny was a precursor to the Philippine Revolution (1896–1898). When the Spanish–American War began in Cuba in 1898, Filipino revolutionaries declared Philippine independence and established the First Philippine Republic the following year. In the Treaty of Paris of 1898 that ended the war with Spain, the United States gained the Philippines and other territories; in refusing to recognise the nascent republic, America effectively reversed her position of 1856. This led directly to the Philippine–American War, in which the First Republic was defeated; wars followed with the Republic of Zamboanga, the Republic of Negros and the Republic of Katagalugan, all of which were also defeated.
By 1913, the British had occupied Burma, Malaya and the northern Borneo territories, the French controlled Indochina, the Dutch ruled the Netherlands East Indies while Portugal managed to hold on to Portuguese Timor. In the Philippines, the 1872 Cavite Mutiny was a precursor to the Philippine Revolution (1896–1898). When the Spanish–American War began in Cuba in 1898, Filipino revolutionaries declared Philippine independence and established the First Philippine Republic the following year. In the Treaty of Paris of 1898 that ended the war with Spain, the United States gained the Philippines and other territories; in refusing to recognise the nascent republic, America effectively reversed her position of 1856. This led directly to the Philippine–American War, in which the First Republic was defeated; wars followed with the Republic of Zamboanga, the Republic of Negros and the Republic of Katagalugan, all of which were also defeated.