I want to know the answer to the following question:
Who was able to secure and stabilize the state eventually and gain the support of the people?
All the background I'm provided with is that "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.". Is that enough to answer the question?
Answer: yes