but in 1917–19, general federico tinoco granados ruled as a military dictator until he was overthrown. the unpopularity of tinoco's government led to a considerable decline in the size, wealth, and political influence of the costa rican military.