Greece continued to rely on foreign borrowing to finance its deficits. Public sector external debt was $32 billion at the end of 1998. The general government debt was $119 billion at the end of 1998, or 105.5% of GDP. Greece's external debt was $32 billion at the end of 1998.
According to the 2001 census, Greece had a population of 10,964,020. Of those, 58.8% lived in urban areas, whereas only 28.4% lived in rural areas. The population of the two largest cities in Greece, Athens and Thessaloniki, reached almost 4 million. Although the population of Greece continues to grow, Greece faces a serious demographic problem: for the first time in 2002 the number of deaths surpassed the number of births.
Services, including tourism, make up the largest and fastest-growing sector of the Greek economy, accounting for about 70% of GDP in 2002.
The Ottomans ruled Greece until the early 19th century. In 1821 the Greeks rebelled and declared their independence, but did not succeed in winning it until 1829. The elites of powerful European nations saw the war of Greek independence, with its accounts of Turkish atrocities, in a romantic light (see, for example, the 1824 painting Massacre of Chios by Eugene Delacroix). Scores of non-Greeks volunteered to fight for the cause - including, for example Lord Byron - and indeed at times the Ottomans seemed on the point of almost entirely suppressing the Greek revolution but for the threatened direct military intervention of France, England or Russia. The Russian minister for foreign affairs, Ioannis Kapodistrias, himself a Greek, returned home as President of the new Republic following Greek independence. That republic disappeared when a few years later Western powers helped turn Greece into a monarchy, the first king coming from Bavaria and the second from Denmark. During the 19th and early 20th centuries, in a series of wars with the Ottomans, Greece sought to enlarge its boundaries to include the Greek-speaking population of the Ottoman Empire, slowly growing in territory and population until it reached its present configuration in 1947. In World War I Greece sided with the entente powers against a pro-German Turkey. In the war's aftermath the Powers awarded parts of Asia Minor to Greece, including the city of Smyrna (known as Izmir today) which had a large Greek population. At that time, however, the Turkish nationalists led by Mustafa Kemal Ataturk, overthrew the Ottoman government, organised a military assault on the Greek troops and defeated them. Immediately afterwards, hundreds of thousands of Turks then living in mainland Greek territory left for Turkey as an exchange with hundreds of thousands of Greeks living in Turkey.
Pythagoras was born on the island of Samos, off the coast of Asia Minor. As a young man he left his native city for Croton in Southern Italy to escape the tyrannical government of Polycrates. Many writers credit him with visits to the sages of Egypt and of Babylon before going west; but such visits feature stereotypically in the biographies of many Greek wise men, and are likely more legend than fact.
After the fall of Constantinople, many church musicians fled to Crete, as did numerous Venetians. A French physician in 1547 (Pierre Bellon) reported warrior-like dances on Crete, and Sherley, an English traveller, reported in 1599 of wild dances performed late at night.
Greek contributions to science continue in modern times. Mathematician Constantin Carathéodory worked in the fields of real analysis, the calculus of variations, and measure theory in the early 20th century. Professor John H. Argyris, a Greek mathematician and engineer, is credited with the invention of finite element analysis. Dr. Dimitris Nanopoulos is a noted theoretical physicist, having made significant contributions to the fields of particle physics and cosmology
A large number of immigrants live in Greece today, estimated at over one million. About 65% have come from Albania, and large-scale Albanian migration to Greece since the fall of Communism in Albania has become a source of conflict in Greece because the Greek-Albanian borders opened without any preparations from the Greek government in terms of immigrant facilities. The Albanians also occasionally suffer from discrimination and exploitation in Greece. Nonetheless most Greeks nowadays recognize their contribution to the Greek economy. (Several prominent Greek sportsmen immigrated to Greece as ethnic Greeks from Albania or Georgia in the 1990s.) Smaller numbers of immigrants came from Bulgaria, Serbia, Romania, Pakistan, Ukraine, Belarus, Poland, Egypt, Palestine, Ethiopia, Bangladesh, China and Georgia. The exact number remains unknown, since the majority live illegally in Greece.