Write a question about the following article: Zelaya resigned on December 14, 1909, and his hand-picked successor, Jose Madriz, was elected by unanimous vote of the liberal Nicaraguan national assembly on December 20, 1909. U.S. Secretary of State Philander C. Knox admonished that the United States would not resume diplomatic relations with Nicaragua until Madriz demonstrated that his was a "responsible government ... prepared to make reparations for the wrongs" done to American citizens. His request for asylum granted by Mexico, Zelaya was escorted by armed guard to the Mexican gunboat General Guerrero and departed Corinto for Salina Cruz, Mexico, on the night of December 23, with Albany standing by but taking no action. As the flagship of the Nicaraguan Expeditionary Squadron, under Admiral William W. Kimball, Albany spent the next five months in Central America, mostly at Corinto, maintaining U.S. neutrality in the ongoing rebellion, sometimes under criticism by the U.S. press and business interests that were displeased by Kimball's "friendly" attitude toward the liberal Madriz administration. By mid-March 1909, the insurgency led by Estrada and Chamorro was seemingly collapsed and with the apparent and unexpected strength of Madriz, the U.S. Nicaraguan Expeditionary Squadron completed its withdrawal from Nicaraguan waters. On May 27, 1910, U.S. Marine Corps Major Smedley Butler arrived on the coast of Nicaragua with 250 Marines, for the purpose of providing security in Bluefields. United States Secretary of State Philander C. Knox condemned Zelaya's actions, favoring Estrada. Zelaya succumbed to U.S. political pressure and fled the country, leaving José Madriz as his successor. Madriz in turn had to face an advance by the reinvigorated eastern rebel forces, which ultimately led to his resignation. In August 1910, Juan Estrada became president of Nicaragua with the official recognition of the United States.
How many months after Madriz was elected president did Juan Estrada become president of Nicaragua?