It is the capital of the Erode district .
Erode city is administrated by Erode Municipal Corporation , 45 Wards . It also serves as the headquarters of the district with the same name ( Erode District ) .