A period of peace now began which afforded a breathing-spell to the country. Upon the expiration of Baez' four year term, Santana was again elected president and entered upon the office on February 15, 1853. It was one of the occasions, only too rare in Dominican history, on which a president served out his term and personally delivered up the office to his successor.

The domineering spirit of Santana gave rise to serious dissensions. He quarrelled with the clergy, which had been taking an active part in politics since the declaration of independence, forced the archbishop, under penalty of expulsion, to take the oath of allegiance to the constitution, and banished several priests. One of the reasons for his stand was perhaps the circumstance that Baez had sought to attract the church. For several years Santana had become jealous of the extension of Baez' influence and wrathful at the independent spirit displayed by his former protegé. It soon became apparent that the retirement of Baez was equivalent to a fall from power. In July, 1853, Santana issued a proclamation in which he accused Baez of treason and of playing into the hands of the Haitians, and ordered his banishment. Baez fled from the country and answered with a fiery counter-appeal, justifying himself and accusing Santana of despotism, whereupon the breach between the two strong men was complete. Santana also quarrelled with Congress and banished or shot his principal adversaries. In 1854 a constitutional convention assembled to draft a constitution more to Santana's taste than the existing one. The presidential term was extended to six years and the office of vice-president was introduced, General Manuel de Regla Mota being elected to this office when General Felipe Alfau declined it. This constitution did not last six months, for before the end of the year Santana had it further restricted.

Under fear of foreign complications Haiti had remained quiet for several years, but in 1855, when England and France were engaged in the Crimean war, the emperor Soulouque made a last determined effort to subjugate Santo Domingo. One army advanced by way of the south, another through the central valley; both captured the border towns and drove the Dominican outposts before them; and both were defeated on the same day, December 22, 1855, the southern army at Cambronal, near Neiba, by a Dominican force under General Sosa, and the other on the savanna of Santomé, by a force under General José Maria Cabral. Not to be deterred, Soulouque rallied his men within Haitian territory, shot a few of his generals, and, believing all the Dominican forces collected in the south, marched north to invade the Cibao. Here he was met by another band of Dominicans at Sabana Larga and again defeated, retreating precipitately to his dominions. It was the last Haitian invasion, but Haiti did not formally recognize the independence of the Dominican Republic until 1874.

The harsh measures of Santana had provoked general dissatisfaction and the friends of Baez seized the opportunity to conspire in his favor. Santana realized that the days of his government were numbered, and resigned the presidency as he had done in 1849, retiring to his farm near Seibo. Manuel de Regla Mota, the vice-president, thereupon on March 26, 1856, became president. Baez soon after arrived in the country and was elected vice-president; thereupon Regla Mota resigned as president and Baez thus slid into the presidency in a perfectly legal manner.

The second administration of Baez opened with a revolution against him in the Neiba district, which was promptly put down. Baez then had Santana arrested and exiled, feeling uncomfortable while his former chief remained in the country. But he was not destined to have peace. An ill-considered issue of more paper money, when the rate of exchange with gold was already fifty to one, created indignation in the tobacco region of the Cibao and on July 7, 1857, Santiago declared itself in revolution. The movement rapidly spread, a provisional government was set up in the Cibao, the forces of Baez were repulsed, and soon the president held only Santo Domingo City and Samana. The revolutionists called a constitutional convention which met at Moca and in February, 1858, promulgated another constitution, designating Santiago as the capital. An election was held in the midst of the war and General José Desiderio Valverde was declared elected president. For months there were thus two governments in the country. The revolutionists began the siege of Santo Domingo City towards the end of July, 1857, and later Santana arrived and took charge of military operations. There were frequent artillery duels, the fourteenth anniversary of Dominican independence, February 27, 1858, being celebrated by a cannonade along the Ozama River lasting all day. Fortunately the most distinctive feature of the combats was the noise, but the Baez family suffered, two of the president's brothers being killed in the war. Baez held out for eleven months, but after the fall of Samana and when Santo Domingo was reduced to starvation he at length yielded to the entreaties of the foreign consuls and capitulated on June 12, 1858. As soon as he had embarked for Curaçao, General Santana marched into the city with the victorious army.

It was not compatible with Santana's character to be subordinate to anyone else, and by the end of July he had with the government at Santiago and set up a government of his own "in order that the lovers of liberty be not disquieted, in order that peace prevail, and in order that the nation be saved," as he said in his proclamation. The Santiago government attempted to resist but was overcome and its members banished. Santana declared the constitution of December, 1854, in force again and called an election at which he was, of course, chosen president, taking the oath of office on January 31, 1859. He thereupon crushed a revolution in Azua, executing the leaders. As the large amount of paper in circulation caused difficulties, he coolly repudiated the greater part, upon which a number of European countries temporarily broke off diplomatic relations because of the injury done their citizens and forced him to retire the paper by issuing in lieu thereof certificates acceptable for customs dues. This trouble removed, he devoted himself to securing the annexation of Santo Domingo to Spain.

From the earliest days of the Dominican Republic the most prominent men had believed that the happiness of the country depended upon securing the protection of a strong power, capable of preserving order, and the years of warfare confirmed them in their opinion. The hope of remaining in power was also an incentive to the party which happened to be in control. Spain and France were preferred, for reasons of identity or similarity of language, customs and religion. Many also favored the United States, but while the republican form of government and the probability of commercial advantages were attractions, the existence of slavery and of prejudice against the colored race inspired misgivings. As early as 1843, even before the declaration of independence, an attempt was made to secure a French protectorate, and during the first war with Haiti, Santana continued the negotiations. In 1846 an attempt was made to obtain a Spanish protectorate. In 1849 President Baez in his message to Congress referred to the advisability of "hastening a solution of the matter by obtaining the intervention and protection of a strong nation which would offer the most advantageous terms, for on this depends public prosperity."

On October 18, 1849, the Dominican minister of foreign affairs in a note to the French consul, stated that "the present situation of the country and the barbarous wars with the Haitians, obliged him to beg, in the name of his government, that the government of France give a definite solution to the important matter of the protectorate; and if the decision of France should unfortunately be in the negative, that it at least be not deferred too long to prevent him from addressing himself to the special representative of the United States, who had just arrived." The United States was mentioned as a bogey, for when France declined, the Dominican government stated that it could not consider the negative as final and appealed to the French sentiments of humanity. In 1854 another strong attempt was made to secure a Spanish protectorate. Neither France nor Spain was anxious to annex a hornet's nest, and Spain was fearful that any uprising against her authority would find an echo in Cuba and Porto Rico. In 1855 negotiations were opened with General William L. Cazneau, special agent of President Pierce, for the lease of the Samana peninsula to the United States, and in the following year Captain (later Major-General) George B. McClellan, of the United States Army, made an examination of Samana Bay. Nothing came of this matter owing to opposition by foreign powers and the fall of the Santana government. Most annexation negotiations were secret, as the opponents of the party that happened to be in power never failed to stigmatize them as treasonable.

The fear of American influence was one of the reasons given by the Haitian emperor Soulouque for his invasion of 1855, and for an invitation issued by him in 1858 to the Dominican people, calling upon them to return to the Haitian flag. It had its influence on the Spanish government also, which began to look more kindly upon annexation propositions and agreed to furnish arms, ammunition and military instructors to Santo Domingo. In 1860 Santana addressed himself directly to the Queen of Spain, and proposed a closer union. Bases for annexation were drawn up, founded "on the free and spontaneous wish of the Dominican people." Santana was careful to win over the local military chiefs to his ideas. His opponents vainly combatted the proposition from Curaçao and from Haiti, which was now a republic again.

On March 18, 1861, the people of the capital assembled on the main plaza pursuant to a call issued on the day before, General Santana and the members of his government appeared on the gallery of the palace of justice, a document was read to the public proclaiming the reincorporation of the country as a part of the Spanish dominions, and thereupon the red and gold flag of Spain was raised on the fort and on the gate "Puerta del Conde" and saluted with 101 guns. On the same day and during the week following, the Spanish flag was raised with similar ceremonies in most of the other towns. A few days later Spanish troops were disembarked at different points. Santana was appointed governor and captain-general of the colony, with the rank of lieutenant-general in the Spanish army.