All of these answers are correct.
Mexico was governed by Porfirio Diaz for 35 years, or 7 presidential terms.
General Batista ruled a little over than 10 years, and not consecutively (1940-44, 52-59) but more than a decade in total.
Juan V. Gomes Ruled Venezueal for almost 30 years.