Original sentence: " The Nayaks of Madurai and Nayaks of Thanjavur were most prominent of them all in the 17th century.1370 CE which ruled for almost two centuries till the defeat at the Battle of Talikota in 1565 by the Deccan sultanates.It eventually conquered the entire Tamil country by c.Subsequently, as the Vijayanagara Empire went into decline after mid-16th century, many local kings succeeded to the throne of Vijayanagara with the result that its grip loosened over its feudatories among whom the Nayaks of Madurai and Tanjore were among the first to declare their independence, despite initially maintaining loose links with the Vijayanagara kingdom
Edited sentence: " As the Vijayanagara Empire went into decline after mid-16th century, the Nayak governors, who were appointed by the Vijayanagar kingdom to administer various territories of the empire, declared their independence.1370 CE).It eventually conquered the entire Tamil country (c.Subsequent to this defeat, many incompetent kings succeeded to the throne of Vijayanagara with the result that its grip loosened over its feudatories among whom the Nayaks of Madurai and Tanjore were among the first to declare their independence, despite initially maintaining loose links with the Vijayanagara kingdom.The Nayaks of Madurai and Nayaks of Thanjavur were most prominent of them all in the 17th century.This empire lasted for almost two centuries till the defeat of Vijayanagara in the Battle of Talikota in 1565