The Second Cankam period or Middle Sangam Period was a legendary period in the history of Ancient Tamilakam said to be the foremost of Tamil Sangams, known in the Tamil language as கூடல் (kooṭal) or 'gathering' as Cankam is derived from Sanskrit. It was the second of the three Tamil Sangams of Classical Tamil literature.
The primary factors leading to the formation of the Middle Sangam period was mentioned in the Iraiyanar Kalaviyal.Iraiyanar Kalaviyal mentions the kingdom of a King named Kandungon was the last ruler during the Talaiccankam. It was washed away in a sea-erosion. This led to the Middle Cankam period.
The second Sangam (iṭaicaṅkam)idaichangam was convened in Kapatapuram. This Sangam lasted for 3700 years and had 59 members, with 3700 poets participating. There were 59 Pandiya kings starting from Vendercceliyan to Mudattirumaran were decedents and rulers of that period. This city was also submerged in sea. Ramayana and Arthasastra of Kautalya corroborates the existence of a city named kavatapuram. There is a reference to a south Indian place called kavata by sugriva in a verse which runs something like 'having reached Kavata suitable for Pandiya'. The place kavata is also mentioned by Kautalya in Arthasastra. The grammar followed was budapuranam,agattiyam,tholkaapiyam,mapuranam and isainunukkam. The poems attributed to second academy are Kali,Kurugu,vendali and viyalamalai ahaval. The third Sangam (kaṭaicaṅkam)kadaichangam was purportedly located in the current city of Madurai and lasted for 1850 years. There were 49 Pandiya kings starting from Mudattirumaran (who came away from Kabadapuram to present Madurai) to Ukkirapperu valudi were decedents and rulers of that period. The academy had 49 members, and 449 poets are described as having participated in the Sangam. The grammars followed were agattiyam and tholkappiyam. The poems composed were Kurunthogai,Netunthogai, kurunthogai nanooru, narrinai nanooru, purananooru, aingurunooru,padirrupaatu, kali,paripaadal,kuttu,vari,sirrisai and perisai.
There are a number of other isolated references to the legend of academies at Madurai scattered through Shaivite and Vaishnavite devotional literature throughout later literature.