What factors contribute to the re-election of leaders like D. Raja as the general secretary of a national party?

D. Raja has been re-elected as the CPI national general secretary. I am curious about the internal and external factors that influence such leadership continuity in political parties.