[5] Philadelphia called at Charleston, South Carolina, on 30 April and hosted President Franklin Delano Roosevelt the first week of May for a cruise in Caribbean waters.
The incident drew protests from hundreds of mess men on other ships as well as anger in the African American community, and led to a series of meetings between Roosevelt and NAACP leaders A. Philip Randolph and Walter White to discuss partial desegregation of the armed forces.
[5] 11 days after the Japanese attack, Philadelphia steamed for exercises in Casco Bay, after which she joined two destroyers for anti-submarine patrol to NS Argentia, Newfoundland.
She then joined units of Task Force 22 (TF 22) at Norfolk on 16 May, departing two days later for an anti-submarine warfare sweep to the Panama Canal.
which was to carry 6,423 troops under Major General Ernest N. Harmon, with 108 tanks, to the landing at Safi, Morocco, about 140 mi (220 km) south of Casablanca.
But after dark, a southeasterly course was plotted towards Casablanca, and shortly before midnight on 7 November, three separate task groups closed three different points on the Moroccan coast.
The next day, the Vichy submarine Medeuse, one of eight that had sortied from Casablanca, was sighted down by the stern and listing badly to port, beached at Mazagan, north of Cape Blanco.
Philadelphia assisted in furnishing covering bombardment as the troops of Major General Troy Middleton’s 45th Infantry Division stormed ashore.
This TF 88 was formed on 27 July and given the mission of the defense of Palermo, gunfire support to the Seventh Army’s advance along the coast, provision of amphibious craft for "leap frog" landings behind enemy lines, and ferry duty for heavy artillery, supplies, and vehicles to relieve congestion on the railway and the single coastal road.
Philadelphia, Savannah, and six destroyers entered the harbor at Palermo on 30 July and the next day commenced bombardment of the batteries near Santo Stefano di Camastra.
When one of her scouting planes spotted 35 German tanks concealed in a thicket adjacent to Red Beach, Philadelphia's guns took them under fire and destroyed seven of them before they escaped to the rear.
By 0815, the bombardment had destroyed enemy defenses, and Major General William W. Eagles’ famed "Thunderbirds" of the 45th Army Infantry Division landed without opposition.
[5] After replenishing ammunition at Propriano, Corsica, on 17 August, Philadelphia provided gunfire support to the French army troops on the western outskirts of Toulon.
Four days later, her commanding officer, Captain Walter A. Ansel, accepted the surrender of the fortress islands of Pomeques, Château d'If, and Ratonneau in the Bay of Marseilles.
She steamed for Antwerp, Belgium on 7 July, acting as escort for Augusta which had embarked President Harry S. Truman and his party, including Secretary of State James F. Byrnes and Fleet Admiral William D. Leahy.
She made another "Magic Carpet" run from New York to Le Havre and return from 5 to 25 December, and arrived at Philadelphia for inactivation on 9 January 1946.
Struck from the Naval Vessel Register on 9 January 1951, she was sold to the government of Brazil under terms of the Mutual Defense Assistance Program.