Spain
Texas did.
If by often you mean the longest, yes it is. It kept Mexico as a colony from 1521 until 1821 when Mexico fought an won its independence war.
The Scots (as a whole nation) never fought a war of independence.
Mexico fought a War for Independence from Spain from 1810 to 1821.
Mexico after 11 years.
It has remained independent from Spain since 1810.
Mexico won the 11 year war and won its independence from Spain. Mexico was to have the missions shut down. That was the end of the missions system.
The revolutionaries (who fought against Mexican federal troops).
If you mean the war between 1810 and 1821 when Mexico fought and won its War of Independence, Guatemala was part of Mexico at the time. The conflict known as Mexican Revolution, between 1910 and 1921 has nothing to do with Guatemala.
1821, when it won its war of independence from Spain.
That means Texas won the war and gained its independence from Mexico.