Walker proceeded to Leon to confer with Rivas, receiving on the way a popular ovation which encouraged him to maintain his rights with firmness. To the proposition of disbanding his forces he replied that the men were ready to leave the country as soon as they should receive their stipulated pay, a claim which he knew that the Government exchequer was in no condition to defray. Not to embarrass the resources of the republic, however, he arrested Don Salazar on a charge of having defrauded the Government of the duties upon some valuable Brazil wood, and of having sold the same wood to the Government, with a profit to himself seldom overlooked by contractors. The act was an offence against an old and seldom enforced law of the country. The arrest was doubtless meant to warn Salazar that he could not conspire with impunity against his vigilant ally, as he was not immediately brought to trial. Rivas, Jerez, and Salazar now decided to pronounce against their formidable rival, but with smooth duplicity they concealed their design, the President, on the 10th of June, issuing a decree for a general election to take place on the fourth Sunday of the month. Next day Walker departed for Granada, and Rivas and Salazar immediately fled from Leon, proclaiming that Walker was a traitor. They took refuge in Guatemala, where General Carrera was preparing a force with which to invade Nicaragua.

Walker, as general in chief of a state disturbed by a revolution within and threatened with invasion from without, was, of course, the head of the government in the absence of the civil ruler. At least, there was nobody to dispute that proposition. He accordingly appointed a provisional director, Don Firmin Ferrer, pending the election which was to occur in a few weeks.

In the election, when it was held, all the districts took part except the northeastern, which was disturbed by the presence of an invading army on its border and two pretenders to the presidency within its precincts. One of them was Rivas; the other the almost forgotten Legitimist puppet of Corral, Don Jose Estrada. Estrada did little of an official character save issue proclamations which nobody heeded; still, as a pretender is always a potential element in monarchy or republic, whom a cunning invader might use to his own advantage, the partisans of Rivas feared to leave to Carrera that poor excuse for betraying their interests. Estrada was murdered in cold blood by a band of ruffians from Leon. With him perished the last of the strictly Legitimist claimants. To insure further their personal interests, Rivas and his friends appointed General Ramon Belloso commander-in-chief of the army of invasion. The allied forces were from Guatemala, Honduras, and San Salvador, and it was from the last and smallest state that it was deemed wise to choose the commander, as the one least likely or able to usurp power after victory.

The lack of representation in the election of the northeastern district was of little consequence, as it was the least populous part of the state, and its vote would have had no influence to change the result. The voting was entirely free and unaccompanied by disturbance. In Nicaragua every male inhabitant over eighteen years old, criminals excepted, is entitled to the suffrage. Representatives, senators, and president, are all chosen by a college of electors who are themselves elected by popular vote. Such, at least, was the law at this period.

When the votes were counted it was found that 23,236 ballots had been cast, of which Walker had received more than twice as many as all his rivals, viz., 15,835, Rivas having 867, Salazar 2,087, and Ferrer 4,447. Walker was accordingly declared elected and, on the 12th of July, 1856, he was formally inaugurated President of Nicaragua. It is worth noting that he was chosen by the largest vote ever polled in the country, and that his actual tenure of office was longer than that of any of his predecessors in the presidency with the exception of two, Pineda and Chamorro. The former held office for four months—the latter for one month—longer than did Walker. In six years there had been no less than fifteen presidents inaugurated. Reform, even through filibusterism, was sadly needed in Nicaragua.

So far as legality was concerned, Walker's title was as sound as that of any prince or president in the world. It only remained for the world to acknowledge it. The first recognition came, unwittingly enough, from his enemy, Secretary Marcy. That statesman, after much consideration of the case, had sent instructions to the United States minister, Colonel Wheeler, whose suspension had been but temporary, to recognize the existing government of Nicaragua, under the supposition that the Rivas administration still held office. Thus much had been conceded to the reasonable demands of Padre Vijil. Mr. Wheeler, with a possible appreciation of the humour of the situation, yet with a strict obedience to the letter of his instructions, thereupon tendered to President Walker the good wishes and felicitations of the United States Government. But Mr. Marcy never forgave the instrument of his blunder, and one of his last official acts was to beg of President Pierce, as a personal favour, the dismissal of Minister Wheeler, a request which the dying administration was weak enough to grant.

We now behold Walker at the zenith of his fame, the lawful ruler of a country whose position and resources made it a prize worth the ambition of all Europe and America to possess. Besides a powerful native party, he had an army of his countrymen at his back numbering over a thousand men, a line of steamers under his control—for the California agents of the Transit Company were his friends as long as their interests and his were the same—and a strong party in the United States in sympathy with his cherished project for the extension of slavery. The tradition vouched for by Crowe in his "Gospel in Central America," as current among the Indians of Nicaragua—"that a grey-eyed man would come from the far North to overturn the Spanish domination and regenerate the native race"—seemed likely to be confirmed, in part, at least.

The ceremony of inaugurating the new President was performed with great pomp at the capital on the 12th of July. The acting provisional director, Don Firmin Ferrer, administered the oath of office, Walker kneeling to make the solemn affirmation. The President-elect was dressed in his customary civilian costume of decorous black, in manner and attire a striking contrast to the gaily decked natives who flocked to the ceremony. The inauguration was celebrated on a large staging erected in the plaza, which was festooned with the flags of Nicaragua, the United States, France, and the unborn republic of Cuba. The text of the oath which Ferrer administered, with a highly eulogistic address, was as follows:

"You solemnly promise and swear to govern the free Republic of Nicaragua, and sustain its independent and territorial integrity with all your power, and to execute justice according to the principles of republicanism and religion."

"I promise and swear."