In April, 1896, Secretary Olney addressed a note to the Spanish minister in which the United States offered to mediate between Spain and the insurgents for the restoration of peace on the basis of autonomy. Spain rejected this offer, claiming that Cuba already enjoyed "one of the most liberal political systems in the world," and suggesting that the United States could contribute greatly to the pacification of the island by prosecuting "the unlawful expeditions of some of its citizens to Cuba with more vigor than in the past."[124] In his last annual message to Congress, President Cleveland reviewed the Cuban situation at length and, in conclusion, declared:

When the inability of Spain to deal successfully with the insurgents has become manifest and it is demonstrated that her sovereignty is extinct in Cuba for all purposes of its rightful existence, and when a hopeless struggle for its reëstablishment has degenerated into a strife which means nothing more than the useless sacrifice of human life and the utter destruction of the very subject-matter of the conflict, a situation will be presented in which our obligations to the sovereignty of Spain will be superseded by higher obligations, which we can hardly hesitate to recognize and discharge.

The McKinley administration, which began March 4, 1897, soon directed its attention to the Cuban question. It was unfortunate that with this question rapidly approaching a crisis the State Department was in feeble hands. John Sherman, the veteran senator from Ohio, was appointed secretary of state by McKinley in order to make a place in the Senate for Mark Hanna, who had so successfully conducted McKinley's campaign. General Woodford was sent to Madrid to succeed Hannis Taylor, and he was instructed to tender again the good offices of the United States, to remind Spain of the resolution passed by the previous Congress, and to warn her that another Congress was soon to assemble.[125] Six days after the receipt of General Woodford's note the Spanish ministry resigned, and on October 14 the liberal ministry of Sagasta assumed office. Its first act was to recall General Weyler, and to appoint General Blanco to succeed him as governor and captain-general of Cuba. The new ministry promised to grant autonomy to Cuba, and President McKinley in his message of December 6, 1897, declared his intention of allowing time for the new policy to be tested.

It was soon evident that the grant of autonomy had come too late. The Cubans would no longer be satisfied with anything short of independence. On January 13, 1898, there was serious rioting in Havana, deliberately planned as a demonstration against the autonomy scheme, and Consul-General Fitzhugh Lee cabled his government that it was evident that autonomy would prove a failure, that he doubted whether Blanco could control the situation, and that it might be necessary to send warships for the protection of Americans in Havana. The suggestion as to warships met with a prompter response than General Lee had expected. The United States battleship Maine was immediately dispatched to Havana, where she arrived January 25 and was assigned an anchorage by the port officials.[126] While she was lying quietly at anchor in Havana harbor, attention was suddenly diverted from Cuba to Washington by the Dupuy de Lôme incident. On February 9, 1898, the New York Journal published in facsimile a letter from the Spanish minister at Washington to a friend in Cuba which severely criticized President McKinley's policy and referred to him as "a would-be politician who tries to leave a door open behind him while keeping on good terms with the jingoes of his party." The letter was genuine, though surreptitiously acquired, and was of such a character that it could not be overlooked. When called on for an explanation, Señor de Lôme admitted having written the letter but questioned the accuracy of the translation. He claimed that the language which he had used was permissible under the seal of private correspondence. When General Woodford, acting under instructions from Washington, informed the Spanish minister of foreign affairs that the President expected the immediate recall of Señor de Lôme, he was informed that the latter's resignation had already been accepted by cable.[127]

Before the excitement over this incident had subsided, the battleship Maine was suddenly blown up in Havana harbor on the night of February 15, and two of her officers and two hundred and fifty-eight of her crew were killed. After a careful examination of witnesses and of the wreck, an American naval court of inquiry reported that the destruction of the ship was due to a submarine mine.[128] A Spanish board of inquiry, after examining a number of witnesses who had seen or heard the explosion, made a brief report the following day to the effect that the ship had been destroyed by an explosion in the forward magazine. It is generally admitted that the American report was correct, but the responsibility for the mine has never been disclosed.

As soon as the report of the court of inquiry was made public, the American people, who had displayed great self-control, threw aside all restraint and the country witnessed an outburst of patriotic fervor such as had not been seen since 1861. "Remember the Maine" became a watchword, and the demand for war was overwhelming. President McKinley decided, however, to make one more effort at a diplomatic settlement. He proposed an armistice between Spain and the insurgents pending negotiations for a permanent adjustment through the friendly offices of the President of the United States. In reply the Spanish government made counter-propositions to the effect that the questions arising out of the destruction of the Maine be submitted to arbitration and that the pacification of the island be left to a Cuban parliament. Meanwhile, the governor-general would be authorized to accept a suspension of hostilities, provided the insurgents should ask for it and agree to disarm. This was simply an invitation to the insurgents to submit, in which case Spain would consider what degree of autonomy was needed or practicable. The President considered the Spanish reply as a rejection of his proposal and determined to submit the entire question to Congress.[129] This meant war, for public feeling in America was at the highest pitch of excitement, the "yellow" press was clamoring for war, and it was with the greatest difficulty that the President, who really wanted peace, had held Congress in check. The message to Congress was held back a few days in consequence of a telegram from General Lee, who urged that he be given time to get Americans safely out of Havana. During this period of delay the representatives of Germany, Austria-Hungary, France, Great Britain, Italy, and Russia made a formal appeal to the President for peace, and the Pope persuaded the Queen of Spain to authorize General Blanco to suspend hostilities. This concession did not meet fully the American ultimatum and seemed too much like another play for time. The Spanish minister was, therefore, simply informed that the President would notify Congress of this latest communication. President McKinley was later severely criticized for not giving greater consideration to this note and for merely alluding to it in his message instead of transmitting it in full. Had he given it greater consideration, war might have been delayed a few months, but it would not have been averted, for Spain was not willing to make concessions that the Cubans at this late date would have regarded as satisfactory.

In his message to Congress of April 11, 1898, President McKinley referred to the Maine only incidentally as "a patent and impressive proof of a state of things in Cuba that is intolerable." He suggested forcible intervention as the only solution of the question and declared that it was justified, not only on grounds of humanity, but as a measure for the protection of the lives and property of American citizens in Cuba, and for the purpose of putting a stop to a conflict which was a constant menace to our peace.[130] Two days later the House passed a resolution by vote of 324 to 19, directing the President to intervene at once to stop the war in Cuba with the purpose of "establishing by the free action of the people thereof a stable and independent government of their own in the island." On the same day the Senate Committee on Foreign Relations reported a resolution demanding the immediate withdrawal of Spain from the Island of Cuba, but the minority report urging in addition the immediate recognition of the Cuban republic as then organized was at first embodied in the Senate resolution by a vote of 67 to 21. It was feared by members of the Senate that if we liberated Cuba without first recognizing the so-called republic of Cuba, the island would inevitably be annexed by the United States. After two days of hot debate, the Senate reconsidered, and the House resolution prevailed. On April 19, the anniversary of the battle of Lexington and of the first bloodshed of the Civil War in the streets of Baltimore, the fateful resolutions were adopted in the following terms:

Resolved by the Senate and House of Representatives of the United States in Congress assembled,

First, That the people of the island of Cuba are, and of right ought to be, free and independent.

Second, That it is the duty of the United States to demand, and the Government of the United States does hereby demand, that the Government of Spain at once relinquish its authority and government in the island of Cuba, and withdraw its land and naval forces from Cuban waters.