Main article: History of Kerala
Pre-history
A dolmen erected by Neolithic people in Marayur.
Main article: Pre-history of Kerala
Prehistorical archaeological findings include dolmens of the Neolithic era in the Marayur area in Idukki district. They are locally known as "muniyara", derived from muni (hermit or sage) and ara (dolmen). Rock engravings in the Edakkal Caves (in Wayanad) are thought to date from the early to late Neolithic eras around 5000 BCE. Archaeological studies have identified many Mesolithic, Neolithic and Megalithic sites in Kerala. The studies point to the indigenous development of the ancient Kerala society and its culture beginning from the Paleolithic age, and its continuity through Mesolithic, Neolithic and Megalithic ages. However, foreign cultural contacts have assisted this cultural formation. The studies suggest possible relationship with Indus Valley Civilization during the late Bronze Age and early Iron Age.
Civilization
Legends apart, the first set of people who left their footprints on the soil of Kerala can be identified at present only with reference to their burial practices. Though records are lacking, a reasonable assumption is that they spoke an archaic form of Tamil. They constructed strange burial monuments in granite, literate and pottery, most of which are strikingly similar to the megalithic monuments of West Europe and Asia. These monuments are, however, younger than their counterparts in the rest of Asia. Historians have postulated a time bracket between 10th century B.C. and 5th century A.D. for these people. It is clear from the grave relics, including iron tridents and daggers, that the megalithic builders had long emerged out of the stone age into the Iron Age without passing through a Bronze Age. In fact, there is very little evidence of the old and the new stone ages in Kerala.
Influence of Maurya Empire
Kerala was a vassal of the Maurya Empire during Asoka (circa. 273- 232 BCE). It is quite possible that the Mauryan invaders who reached the Mysore borders in their conquest southwards, encountered the megalith making tribes who lived in hill forts and controlled the surrounding countryside. The aborigine tribes were ages behind the Mauryan culture. They called the aborigines "Keralaputhras". Mauryan army did not assert their administrative control over these areas. The civilization in Kerala at that time was in late Megalithic age. Due to the interaction between Maurya Empire there was rapid development and the social culture jumped to Bronze Age with out going to Iron Age. A whole corpus of ancient Tamil literature known to scholars by the name of Sangam literature, has been preserved; so these ancient literature gives a lime light over the happenings of this area.
Trade and commerce developed due to the contact with the Mauryas. The contact with Mauryan Empire transformed Kerala from tribal polity into civilized polity. The stimulus of overseas trade provided by the Roman empire in the first three centuries of the Christian era triggered off the next phase of development in Tamilakam. The geographical advantages, i.e., the abundance of pepper and other spices, the navigability of the rivers connecting the high mountains with the seas and the discovery of favourable trade winds which carried sailing ships directly from the Arabian coast to Kerala in less than forty days, combined to produce a veritable boom in Kerala's foreign trade. The harbours of Naura near Kannur, Tyndis near Quilandy, Muziris near Kodungallor and Bacare near Alappuzha owed their existence primarily to the Roman trade. Roman contact with Kerala might have given rise to small colonies of Jews and Syrian Christians in the chief harbor towns of Kerala. Prehistorical archaeological findings include dolmens of the Neolithic era in the Marayur area in Idukki district. Rock engravings in the Edakkal Caves (in Wayanad). Archaeological studies have identified many Mesolithic, Neolithic and Megalithic sites in Kerala. The studies point to the indigenous development of the ancient Kerala society and its culture beginning from the Paleolithic age, and its continuity through Mesolithic, Neolithic and Megalithic ages. However, foreign cultural contacts have assisted this cultural formation. The studies suggest possible relationship with Indus Valley Civilization during the late Bronze Age and early Iron Age as a few relics akin to the Indus valley symbols were discovered in Kerala.
Ancient period
Kerala was a major spice exporter from as early as 3000 BCE, according to Sumerian records. Its fame as the land of spices attracted ancient Babylonians, Assyrians and Egyptians to the Malabar Coast in the 3rd and 2nd millennia BCE. Arabs and Phoenicians were also successful in establishing their prominence in the Kerala trade during this early period. The word Kerala is first recorded (as Keralaputra) in a 3rd-century BCE rock inscription (Rock Edict 2) left by the Maurya emperor Asoka (274–237 BCE). The Land of Keralaputra was one of the four independent kingdoms in southern India during Asoka's time, the others being Chola, Pandya, and Satiyaputra. Scholars hold that Keralaputra is an alternate name of the Cheras, the first powerful dynasty based on Kerala. These territories once shared a common language and culture, within an area known as Tamiḻakam. While the Cheras ruled the major part of modern Kerala, its southern tip was in the kingdom of Pandyas, which had a trading port sometimes identified in ancient Western sources as Nelcynda (or Neacyndi). At later times the region fell under the control of the Pandyas, Cheras, and Cholas. Ays and Mushikas were two other remarkable dynasties of ancient Kerala, whose kingdoms lay to the south and north of Cheras respectively.
In the last centuries BCE the coast became famous among the Greeks and Romans for its spices, especially black pepper. The Cheras had trading links with China, West Asia, Egypt, Greece, and the Roman Empire. In the foreign-trade circles the region was identified by the name Male or Malabar. Muziris, Berkarai, and Nelcynda were among the principal ports at that time. The value of Rome's annual trade with India as a whole was estimated at no less than 50,000,000 sesterces; contemporary Sangam literature describes Roman ships coming to Muziris in Kerala, laden with gold to exchange for pepper. One of the earliest western traders to use the monsoon winds to reach Kerala may have been Eudoxus of Cyzicus, around 118 or 166 BCE, under the patronage of Ptolemy VIII, a king of the Hellenistic Ptolemaic dynasty in Egypt. Various Roman establishments in the port cities of the region, such as a temple of Augustus and barracks for garrisoned Roman soldiers, are marked in the Tabula Peutingeriana: the only surviving map of the Roman cursus publicus.
Merchants from West Asia and Southern Europe established coastal posts and settlements in Kerala. Jewish connection with Kerala started as early as 573 BCE. Arabs also had trade links with Kerala, possibly started before the 4th century BCE, as Herodotus (484–413 BCE) noted that goods brought by Arabs from Kerala were sold to the Jews at Eden. They intermarried with local people, and from this mixture the large Muslim Mappila community of Kerala are descended. In the 4th century, some Christians also immigrated from Persia and joined the early Syrian Christian community who trace their origins to the evangelistic activity of Thomas the Apostle in the 1st century. Mappila was an honorific title that had been assigned to respected visitors from abroad; and Jewish, Syrian Christian, and Muslim immigration might account for later names of the respective communities: Juda Mappilas, Nasrani Mappilas, and Muslim Mappilas. According to the legends of these communities, the earliest Christian churches, mosque, and synagogue (1568 CE) in India were built in Kerala. The combined number of Muslims, Christians, and Jews was relatively small at this early stage. They co-existed harmoniously with each other and with local Hindu society, aided by the commercial benefit from such association.
Early medieval period
Tharisapalli plates: testify that during the Kulasekhara period merchant guilds and trade corporations played a very significant role in the economy and social life of the times.
Much of history of the region from the 6th to the 8th century is obscure. A Second Chera Kingdom ( c. 800–1102), also known as Kulasekhara dynasty of Mahodayapuram, was established by Kulasekhara Varman, which at its zenith ruled over a territory comprising the whole of modern Kerala and a smaller part of modern Tamil Nadu. During the early part of Kulasekara period, the southern region from Nagerkovil to Thiruvalla was ruled by Ay kings, who lost their power in the 10th century and thus the region became a part of the Kulasekara empire. During Kulasekhara rule, Kerala witnessed a flourishing period of art, literatute, trade and the Bhakti cult of Hinduism. A Keralite identity, distinct from the Tamils, became linguistically separate during this period. For the local administration, the empire was divided into provinces under the rule of Naduvazhis, with each province comprising a number of Desams under the control of chieftains, called as Desavazhis.
The inhibitions, caused by a series of Chera-Chola wars in the 11th century, resulted in the decline of foreign trade in Kerala ports. Buddhism and Jainism disappeared from the land. The social system became fractured with internal divisions on the lines of caste. Finally, the Kulasekhara dynasty was subjugated in 1102 by the combined attack of Later Pandyas and Later Cholas. However, in the 14th century, Ravi Varma Kulashekhara (1299–1314) of the southern Venad kingdom was able to establish a short-lived supremacy over southern India. After his death, in the absence of a strong central power, the state was fractured into about thirty small warring principalities; most powerful of them were the kingdom of Samuthiri in the north, Venad in the south and Kochi in the middle.
Colonial era
This figure illustrates the path of Vasco da Gama heading for the first time to India (black line)
The monopoly of maritime spice trade in the Indian Ocean stayed with Arabs during the high and late medieval periods. However, the dominance of Middle East traders got challenged in the European Age of Discovery during which the spice trade, particularly in black pepper, became an influential activity for European traders. Around the 15th century, the Portuguese began to dominate the eastern shipping trade in general, and the spice-trade in particular, culminating in Vasco Da Gama's arrival in Kappad Kozhikode in 1498. The Zamorin of Calicut permitted the new visitors to trade with his subjects. The Portuguese trade in Calicut prospered with the establishment of a factory and fort in his territory. However, Portuguese attacks on Arab properties in his jurisdiction provoked Zamorin and finally led to conflicts between them. The Portuguese took advantage of the rivalry between Zamorin and king of Kochi; they allied with Kochi and when Francisco de Almeida was appointed as the Viceroy of Portuguese India in 1505, his headquarters was at Kochi. During his reign, the Portuguese managed to dominate relations with Kochi and established a few fortresses in Malabar coast. Nonetheless, the Portuguese suffered severe setbacks from the attacks of Zamorin forces; especially from naval attacks under the leadership of admirals of Calicut known as Kunjali Marakkars, which compelled them to seek a treaty. In 1571, Portuguese were defeated by the Zamorin forces in the battle at Chaliyam fort.
Dutch commander De Lannoy surrenders to Marthanda Varma at the Battle of Colachel. Depiction at Padmanabhapuram Palace
Tipu Sultan's fort at Palakkad; view from outside the northern wall.
The weakened Portuguese were ousted by the Dutch East India Company, who took advantage of continuing conflicts between Kozhikode and Kochi to gain control of the trade. The Dutch in turn were weakened by constant battles with Marthanda Varma of the Travancore Royal Family, and were defeated at the Battle of Colachel in 1741. An agreement, known as "Treaty of Mavelikkara", was signed by the Dutch and Travancore in 1753, according to which the Dutch were compelled to detach from all political involvements in the region. In the meantime, Marthanda Varma annexed many smaller northern kingdoms through military conquests, resulting in the rise of Travancore to a position of preeminence in Kerala.
In 1766, Hyder Ali, the ruler of Mysore invaded northern Kerala. His son and successor, Tipu Sultan, launched campaigns against the expanding British East India Company, resulting in two of the four Anglo-Mysore Wars. Tipu ultimately ceded Malabar District and South Kanara to the Company in the 1790s; both were annexed to Madras Presidency of British India in 1792. The Company forged tributary alliances with Kochi in 1791 and Travancore in 1795. Thus, by the end of 18th century, the whole of Kerala fell under the control of the British, either administered directly or under suzerainty.
A nineteenth-century map of Madras Province in British India. After independence, Kerala was formed by merging Malabar, Cochin, Travancore and the South Kanara district
There were major revolts in Kerala during its transition to democracy in the 20th century; most notable among them are the 1921 Malabar Rebellion and the 1946 Punnapra-Vayalar uprising in Travancore. In the Malabar Rebellion, Mappila Muslims of Malabar rioted against Hindu zamindars and the British Raj. Some social struggles against caste inequalities also erupted in the early decades of 20th century, leading to the 1936 Temple Entry Proclamation that opened Hindu temples in Travancore to all castes;
Post colonial period
After British India was partitioned in 1947 into India and Pakistan, Travancore and Cochin joined the Union of India and on 1 July 1949 were merged to form Travancore-Cochin. On 1 November 1956, the state of Kerala was formed by the States Reorganisation Act merging the Malabar district, Travancore-Cochin (excluding four southern taluks, which were merged with Tamil Nadu), and the taluk of Kasargod, South Kanara. In 1957, elections for the new Kerala Legislative Assembly were held, and a reformist, Communist-led government came to power, under E. M. S. Namboodiripad. It was the first time a Communist government was democratically elected to power anywhere in the world.