Question: Who was able to secure and stabilize the state eventually and gain the support of the people?
Sentence: Despite the difficulties at the beginning, Díaz was able to secure and stabilize the state, which earned the confidence and support of the people.
Answer in sentence: yes