Which came first — Madras or Chennai?

By 1802, a Marathi manuscript reversed history. The fort became Madras and the town Chennai

India