Ocean. She then sailed on 28 September for the Hawaiian Islands, arriving at Honolulu on 16 November. She found Commodore John D. Sloat and his flagship there; Sloat informed Percival that Constitution was needed in Mexico, as the United States was preparing for war after the Texas annexation. She provisioned for six months and sailed for Mazatlán, arriving there on 13 January 1846. She sat at anchor for more than three months until she was finally allowed to sail for home on 22 April, rounding Cape Horn on 4 July. Arriving in Rio de Janeiro, the ship's party learned that the Mexican War had begun on 13 May, soon after their departure from Mazatlán. She arrived home in Boston on 27 September and was mothballed on 5 October. Mediterranean and African Squadrons Constitution began a refitting in 1847 for duty with the Mediterranean Squadron. The figurehead of Andrew Jackson that caused so much controversy 15 years earlier was replaced with another likeness of Jackson, this time without a top hat and with a more Napoleonic pose. Captain John Gwinn commanded her on this voyage, departing on 9 December 1848 and arriving at Tripoli on 19 January 1849. She received King Ferdinand II and Pope Pius IX on board at Gaeta on 1 August, giving them a 21-gun salute. This was the first time that a Pope set foot on American territory or its equivalent. At Palermo on 1 September, Captain Gwinn died of chronic gastritis and was buried near Lazaretto on the 9th. Captain Thomas Conover assumed command on the 18th and resumed routine patrolling for the rest of the tour, heading home on 1 December 1850. She was involved in a severe collision with the English brig Confidence, cutting her in half, which sank with the loss of her captain. The surviving crew members were carried back to America, where Constitution was put in ordinary once again, this time at the Brooklyn Navy Yard, in January 1851. Constitution was recommissioned on 22 December 1852 under the command of John Rudd. She carried Commodore Isaac Mayo for duty with the African Squadron, departing the yard on 2 March 1853 on a leisurely sail towards Africa and arriving there on 18 June. Mayo made a diplomatic visit in Liberia, arranging a treaty between the Gbarbo and the Grebo tribes. Mayo resorted to firing cannons into the village of the Gbarbo in