The history of Turkey, understood as the history of the area now forming the territory of the Republic of Turkey, includes the history of both Anatolia (the Asian part of Turkey) and Eastern Thrace (the European part of Turkey). These two previously politically distinct regions came under control of the Roman Empire in the second century BC, eventually becoming the core of the Roman Byzantine Empire. For times predating the Ottoman period, a distinction should also be made between the history of the Turkic peoples, and the history of the territories now forming the Republic of Turkey. From the time when parts of what is now Turkey were conquered by the Seljuq dynasty, the history of Turkey spans the medieval history of the Seljuk Empire, the medieval to modern history of the Ottoman Empire, and the history of the Republic of Turkey since the 1920s.

Prehistory and ancient history

Present-day Turkey has been inhabited by modern humans since the late Paleolithic period and contains some of the world's oldest Neolithic sites. Göbekli Tepe is close to 12,000 years old. Parts of Anatolia include the Fertile Crescent, an origin of agriculture. Other important Anatolian Neolithic sites include Çatalhöyük and Alaca Höyük. Neolithic Anatolian farmers differed genetically from farmers in Iran and Jordan Valley. These early Anatolian farmers also migrated into Europe, starting around 9,000 years ago. Troy's earliest layers go back to around 4500 BC. The Urfa Man statue is dated c. 9000 BC, to the period of the Pre-Pottery Neolithic, and is defined as "the oldest known naturalistic life-sized sculpture of a human".

Anatolia's historical records start with clay tablets from approximately around 2000 BC that were found in modern-day Kültepe. These tablets belonged to an Assyrian trade colony. The languages in Anatolia at that time included Hattian, Hurrian, Hittite, Luwian, and Palaic. Hattian was a language indigenous to Anatolia, with no known modern-day connections. Hurrian language was used in northern Syria. Hittite, Luwian, and Palaic languages were in the Anatolian sub-group of Indo-European languages, with Hittite being the "oldest attested Indo-European language". The origin of Indo-European languages is unknown. They may be native to Anatolia or non-native.

Hattian rulers were gradually replaced by Hittite rulers. The Hittite kingdom was a large kingdom in Central Anatolia, with its capital of Hattusa. It co-existed in Anatolia with Palaians and Luwians, approximately between 1700 and 1200 BC. As the Hittite kingdom was disintegrating, further waves of Indo-European peoples migrated from southeastern Europe, which was followed by warfare. The Thracians were also present in modern-day Turkish Thrace. It is not known if the Trojan War is based on historical events. Troy's Late Bronze Age layers matches most with Iliads story.

Around 750 BC, Phrygia had been established, with its two centers in Gordium and modern-day Kayseri. Phrygians spoke an Indo-European language, but it was closer to Greek, rather than Anatolian languages. Phrygians shared Anatolia with Neo-Hittites and Urartu. Luwian-speakers were probably the majority in various Anatolian Neo-Hittite states. Urartians spoke a non-Indo-European language and their capital was around Lake Van. Urartu was often in conflict with Assyria, but fell with the attacks of Medes and Scythians in seventh century BC. When Cimmerians attacked, Phrygia fell around 650 BC. They were replaced by Carians, Lycians and Lydians. These three cultures "can be considered a reassertion of the ancient, indigenous culture of the Hattian cities of Anatolia".

Anatolia and Thrace in classical antiquity Classical Anatolia

The classical history of Anatolia can be roughly subdivided into the classical period and Hellenistic Anatolia, ending with the conquest of the region by the Roman Empire in the second century BC.

After the fall of the Hittites, the new states of Phrygia and Lydia stood strong on the western coast as Greek civilization began to flourish. They, and all the rest of Anatolia were relatively soon after incorporated into the Achaemenid Persian Empire.

As Persia grew in strength, their system of local government in Anatolia allowed many port cities to grow and to become wealthy. All of Anatolia got divided into various satrapies, ruled by satraps (governors) appointed by the central Persian rulers. The first state that was called Armenia by neighbouring peoples was the state of the Armenian Orontid dynasty, which included parts of eastern Turkey beginning in the 6th century BC, which became the Satrapy of Armenia under Achaemenid rule. Some of the satraps revolted periodically but did not pose a serious threat. In the 5th century BC, Darius I built the Royal Road, which linked the principal city of Susa with the west Anatolian city of Sardis.A modern study is D.F. Graf, The Persian Royal Road System, 1994.

Anatolia played a pivotal role in Achaemenid history. In the earliest 5th century BC, some of the Ionian cities under Persian rule revolted, which culminated into the Ionian Revolt. This revolt, after being easily suppressed by the Persian authority, laid the direct uplead for the Greco-Persian Wars, which turned out to be one of the most crucial wars in European history.

Achaemenid Persian rule in Anatolia ended with the conquests of Alexander the Great, defeating Darius III between 334 and 330 BC. Alexander wrested control of the whole region from Persia in successive battles. After Alexander's death, his conquests were split amongst several of his trusted generals, but were under constant threat of invasion from both the Gauls and other powerful rulers in Pergamon, Pontus, and Egypt. The Seleucid Empire, the largest of Alexander's territories, and which included Anatolia, became involved in a disastrous war with Rome culminating in the battles of Thermopylae and Magnesia. The resulting Treaty of Apamea in (188 BC) saw the Seleucids retreat from Anatolia. The Kingdom of Pergamum and the Republic of Rhodes, Rome's allies in the war, were granted the former Seleucid lands in Anatolia.

Roman control of Anatolia was strengthened by a 'hands off' approach by Rome, allowing local control to govern effectively and providing military protection. In the early 4th century, Constantine the Great established a new administrative centre at Constantinople, and by the end of the 4th century the Roman empire split into two parts, the Eastern part with Constantinople as its capital, referred to by historians as the Byzantine Empire from the original name, Byzantium.

Thrace

The Thracians (, ) were a group of Indo-European tribes inhabiting a large area in Central and Southeastern Europe. They were bordered by the Scythians to the north, the Celts and the Illyrians to the west, the Ancient Greeks to the south and the Black Sea to the east. They spoke the Thracian language – a scarcely attested branch of the Indo-European language family. The study of Thracians and Thracian culture is known as Thracology.

Starting around 1200 BC, the western coast of Anatolia was heavily settled by Aeolian and Ionian Greeks. Numerous important cities were founded by these colonists, such as Miletus, Ephesus, Smyrna and Byzantium, the latter founded by Greek colonists from Megara in 657 BC. All of Thrace, and the native Thracian peoples were conquered by Darius the Great in the late 6th century BC, and were re-subjugated into the empire in 492 BC following Mardonius' campaign during the First Persian invasion of Greece.Joseph Roisman, Ian Worthington. "A companion to Ancient Macedonia" John Wiley & Sons, 2011. pp 135-138, p 343 The territory of Thrace later became unified by the Odrysian kingdom, founded by Teres I, probably after the Persian defeat in Greece.

By the 5th century BC, the Thracian presence was pervasive enough to have made HerodotusHerodotus. Histories, Book V . call them the second-most numerous people in the part of the world known by him (after the Indians), and potentially the most powerful, if not for their lack of unity. The Thracians in classical times were broken up into a large number of groups and tribes, though a number of powerful Thracian states were organized, such as the Odrysian kingdom of Thrace and the Dacian kingdom of Burebista. A type of soldier of this period called the Peltast probably originated in Thrace.

Before the expansion of the Kingdom of Macedon, Thrace was divided into three camps (East, Central, and West) after the withdrawal of the Persians following their eventual defeat in mainland Greece. Cersobleptes, a notable ruler of the East Thracians, attempted to expand his authority over many of the Thracian tribes but was eventually defeated by the Macedonians.

The Thracians were typically not city-builders. The largest Thracian cities were in fact large villagesJohn Boardman, I.E.S. Edwards, E. Sollberger, and N.G.L. Hammond. The Cambridge Ancient History, Volume 3, Part 2: The Assyrian and Babylonian Empires and Other States of the Near East, from the Eighth to the Sixth Centuries BC. Cambridge University Press, 1992, p. 612. "Thrace possessed only fortified areas and cities such as Cabassus would have been no more than large villages. In general the population lived in villages and hamlets."John Boardman, I.E.S. Edwards, E. Sollberger, and N.G.L. Hammond. The Cambridge Ancient History, Volume 3, Part 2: The Assyrian and Babylonian Empires and Other States of the Near East, from the Eighth to the Sixth Centuries BC. Cambridge University Press, 1992, p. 612. "According to Strabo (vii.6.1cf.st.Byz.446.15) the Thracian -bria word meant polis but it is an inaccurate translation." and the only polis was Seuthopolis.Mogens Herman Hansen. An Inventory of Archaic and Classical Poleis: An Investigation Conducted by The Copenhagen Polis Centre for the Danish National Research Foundation. Oxford University Press, 2005, p. 888. "It was meant to be a polis but this was no reason to think that it was anything other than a native settlement."Christopher Webber and Angus McBride. The Thracians 700 BC-AD 46 (Men-at-Arms). Osprey Publishing, 2001, p. 1. "They lived almost entirely in villages; the city of Seuthopolis seems to be the only significant town in Thrace not built by the Greeks (although the Thracians did build fortified refuges)."

Byzantine Period

The Persian Achaemenid Empire fell to Alexander the Great in 334 BC, which led to increasing cultural homogeneity and Hellenization in the area. Following Alexander's death in 323 BC, Anatolia was subsequently divided into a number of small Hellenistic kingdoms, all of which became part of the Roman Republic by the mid-1st century BC. The process of Hellenization that began with Alexander's conquest accelerated under Roman rule, and by the early centuries AD the local Anatolian languages and cultures had become extinct, being largely replaced by ancient Greek language and culture.

According to Acts of the Apostles, early Christian Church had significant growth in Anatolia because of St Paul's efforts. Letters from St. Paul in Anatolia comprise the oldest Christian literature. According to extrabiblical traditions, the Assumption of Mary took place in Ephesus, where Apostle John was also present. Irenaeus writes of "the church of Ephesus, founded by Paul, with John continuing with them until the times of Trajan."

Several ecumenical councils of the early Church were held in cities located in present-day Turkey, including the First Council of Nicaea (Iznik) in 325 (which resulted in the first uniform Christian doctrine, called the Nicene Creed), the First Council of Constantinople in 381, the Council of Ephesus in 431, and the Council of Chalcedon in 451.