The Kingdom of Cochin or the Cochin State, named after its capital in the city of Kochi (Cochin), was a kingdom in the central part of present-day Kerala state. It originated in the early part of the 12th century and continued to rule until its accession to the Dominion of India in 1949.
The kingdom of Cochin, originally known as Perumpadappu Swaroopam, was under the rule of the Later Cheras in the Middle Ages. After the fall of the Mahodayapuram Cheras in the 12th century, along with numerous other provinces Perumpadappu Swaroopam became a free political entity. However, it was only after the arrival of Portuguese on the Malabar Coast that the Perumpadappu Swaroopam acquires any political importance. Perumpadappu rulers had family relationships with the Nambudiri rulers of Edappally. After the transfer of Kochi and Vypin from the Edappally rulers to the Perumpadappu rulers, the latter came to be known as kings of Kochi.