Martanda Varma (18th century) extended boundaries from Kanyakumari to Cochin and developed an army along the western model.