Early in 1826 an attempt was made[IX-59] by a Spaniard named José Zamora, at Alajuela, to overthrow the government. He attacked the quarters of the garrison, but after several hours' fighting was repulsed, with most of his followers slain, wounded, or made prisoners. A few days afterward he was captured and shot.[IX-60] During several years this was the only public disturbance. The struggle between serviles and liberals in the other states did not affect Costa Rica, which prudently maintained neutrality. She endeavored, however, to bring on peace between the belligerents, by accrediting, in 1828, Manuel Aguilar as special envoy to Guatemala and Salvador; but his mission proved fruitless, chiefly owing to the success of the Salvador arms, and the irreconcilable feeling thereby engendered.[IX-61] It was the unsatisfactory result of this effort, which in a great measure prompted Costa Rica, after Mora's reëlection in 1829, to secede from the union till the federal authority should be reorganized. When this took place, the secession act was revoked in January 1831.

In March 1833 the second term of office of Mora expired; and in acknowledgment of his beneficent and wise policy, the assembly decreed that his portrait should be placed in the hall of sessions, with a highly complimentary inscription.[IX-62] Costa Rica had made great progress from both the material and intellectual points of view. A number of clergymen endeavored to introduce a decree of the ecclesiastical authorities of Guatemala to burn certain so-called forbidden books. They failed, the result being the importation of a large number of the denounced works. Jefe Mora treated the pious proposal with the contempt it deserved.[IX-63]

RULE OF GALLEGOS AND CARRILLO.

Mora's successor duly elected was José Rafael Gallegos, who assumed his duties in April 1833.[IX-64] The state at this time was enjoying liberty, and perfect freedom of the press.[IX-65] It was the asylum of the exiles from other Central and South American states. It was not, however, altogether exempt from the spirit of localism. Cartago had been the capital, and wanted to recover that position. San José felt as a loss the absence of the supreme authorities. Heredia and Alajuela would not be less than the other two places. Guanacaste was the only one out of the question. Hence the resolution adopted[IX-66] that the state capital should alternately be at San José, Cartago, Heredia, and Alajuela. A later law, of June 9th, prescribed that the residence of the supreme authorities at each of said places should be for the period of four years. Gallegos' rule was of short duration. He resigned in March 1834.[IX-67]

Braulio Carrillo was elected jefe, and went into office in April 1835.[IX-68] In his time several liberal innovations were made, in addition to those introduced some time previously; namely, suppression of tithes and decrease of holidays;[IX-69] those enactments aroused the clergy, and prompted them to fan, in retaliation, the flame of discord existing between San José and Cartago, which culminated in an open revolt on the 24th of September, 1835.

An alliance was entered into by Cartago with Alajuela and Heredia, to refuse recognition to the government, and to convoke a new assembly with equal representative rights for the different towns.[IX-70] The allied forces marched upon San José, then the seat of government; but were defeated in several encounters, and they again submitted.[IX-71] The result of this revolt was the further strengthening of San José, to which place was conveyed all the armament of the state. The government was equally successful in the following year, when an armed force from Nicaragua, led by the Costa Rican Manuel Quijano, formerly in his country's military service, Pedro Abellan, and Manuel Dengo, entered the department of Guanacaste, and marched upon its chief town, where they expected to find support; but they only met with disappointment. They were first repulsed by the inhabitants, and afterward routed by the troops.[IX-72]

REVOLT IN COSTA RICA.

The peace thus restored was not of long duration. Braulio Carrillo was succeeded as jefe of the state[IX-73] by Manuel Aguilar, in April 1837. A plot intended to overthrow the government was soon after detected, and the authors were sent into exile.[IX-74] But Carrillo had also been disappointed at Aguilar's election, and being influential with the soldiery, he had but little difficulty in getting together a party with which, on the 27th of May, 1838, he deposed this official, sending him, together with the vice-jefe, Juan Mora, into banishment.[IX-75] This was the first instance in Costa Rica when the legitimate government of the state was overthrown by force of arms. It cannot be said that the change was altogether for the worse. Under Carrillo's active and energetic rule the country made rapid progress in a material point of view.[IX-76] He saw at once the hopelessness of reëstablishing the Central American confederation,[IX-77] or of reorganizing it so as to render it beneficent to the several states; and therefore, instead of making fruitless efforts in that direction, strove rather to isolate Costa Rica. This policy he impressed on the second constituent convention, which met on the 1st of November, 1838,[IX-78] and on the 15th the formal separation was declared, the convention still manifesting a willingness to maintain a sort of union by means of special treaties.[IX-79]