The Mexican War of Independence was a long and bloody struggle that lasted from 1810 to 1821. It was led by a number of revolutionary leaders, including Miguel Hidalgo y Costilla, who is considered the father of Mexican independence. The war ended with the signing of the Treaty of Cordoba, which recognized Mexico as an independent nation.
However, if you are referring to the Mexican Revolution that took place between 1910 and 1920, it was a complex and multifaceted conflict that involved various social, economic, and political factors. The revolution was successful in overthrowing the long-standing dictatorship of Porfirio Diaz and establishing a more democratic government. However, it also resulted in significant social upheaval and violence, including the deaths of hundreds of thousands of people.
I hope this helps!