President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act MORE and first lady Melania Trump Melania TrumpWatchdog confirms State Dept. canceled award for journalist who criticized Trump Ginsburg becomes the first woman to lie in state in the Capitol Rabbi memorializes Ginsburg: Her dissents were 'blueprints for the future' MORE on Tuesday visited the Tree of Life Synagogue in Pittsburgh, where a gunman carried out the deadliest attack on Jews in U.S. history.

The Trumps paid their respects to the dead by lighting candles inside the synagogue's vestibule for each of the 11 victims of Saturday's massacre. They then laid stones atop makeshift memorial stars outside the building, a traditional Jewish mourning ritual, and also set down white flowers.

ADVERTISEMENT

Ron Dermer, Israel's ambassador to the U.S., accompanied the president and first lady during their visit, as did Ivanka Trump Ivana (Ivanka) Marie TrumpThe Hill's 12:30 Report: Trump stokes fears over November election outcome Special counsel investigating DeVos for potential Hatch Act violation: report Trump, Biden vie for Minnesota MORE and Jared Kushner Jared Corey KushnerAbraham Accords: New hope for peace in Middle East Tenants in Kushner building file lawsuit alleging dangerous living conditions Trump hosts Israel, UAE, Bahrain for historic signing MORE, the president's daughter and son-in-law and White House advisers who are Jewish, and Treasury Secretary Steven Mnuchin Steven Terner MnuchinCentrist Democrats got their COVID bill, now they want a vote The Hill's Morning Report - Sponsored by Facebook - Republicans lawmakers rebuke Trump on election On The Money: Anxious Democrats push for vote on COVID-19 aid | Pelosi, Mnuchin ready to restart talks | Weekly jobless claims increase | Senate treads close to shutdown deadline MORE.

Trump and his family members afterward visited University of Pittsburgh Medical Center Presbyterian Hospital, where he met with four police officers who were wounded by the gunman.

Trump made the trip to Pittsburgh over the objections of some public officials and Jewish leaders who asked him to put off a visit, which has been the subject of controversy amid a national debate about gun violence, anti-Semitism and political hatred.

But the president was reportedly wary of being criticized for waiting too long to visit the city and he was greeted by the rabbi of Tree of Life upon his arrival.

Rabbi Jeffrey Myers previously told CNN that Trump was "certainly welcome" to make the visit, saying, "I am a citizen. He is my president."

Tuesday's trip was full of reminders of the storm surrounding Trump's presence.

Protesters carrying signs saying "hate has no home in Squirrel Hill" and imploring Trump to "stop encouraging hate" stood outside the synagogue in the city's Squirrel Hill neighborhood as the president arrived.

Protest signs outside Tree of Life Synagogue during President's visit. pic.twitter.com/JHbdzuA54s — Mark Knoller (@markknoller) October 30, 2018

Local officials did not greet Trump at the airport after Air Force One landed, as they typically do when the president travels outside of Washington, D.C. Along the motorcade route, some onlookers gave Trump a thumbs down and others raised their middle fingers to him.

All four congressional leaders also turned down invitations from the White House to accompany Trump to Pittsburgh.

Speaker Paul Ryan Paul Davis RyanKenosha will be a good bellwether in 2020 At indoor rally, Pence says election runs through Wisconsin Juan Williams: Breaking down the debates MORE (R-Wis.) and Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellHawley warns Schumer to steer clear of Catholic-based criticisms of Barrett Senate GOP set to vote on Trump's Supreme Court pick before election Harris slams Trump's Supreme Court pick as an attempt to 'destroy the Affordable Care Act' MORE (R-Ky.) were unable to make the trip due to scheduling conflicts, their offices said. Ryan's staff said he could not make it on such short notice. House Minority Leader Nancy Pelosi Nancy PelosiPelosi: Trump Supreme Court pick 'threatens' Affordable Care Act Sunday shows preview: Lawmakers prepare for SCOTUS confirmation hearings before election Will Democrats attempt to pack the Supreme Court again? MORE (D-Calif.) and Senate Minority Leader Charles Schumer Chuck SchumerPelosi: Trump Supreme Court pick 'threatens' Affordable Care Act Will Democrats attempt to pack the Supreme Court again? Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' MORE (D-N.Y.) also decided not to attend.

Pittsburgh Mayor Bill Peduto (D) had suggested that Trump delay his visit until the funerals for the victims were completed.

Trump has struggled to play the role of consoler in chief in times of national crisis, and his response to the Pittsburgh massacre has proven no different.

The president delivered a forceful condemnation of anti-Semitism in the immediate aftermath of Saturday's shooting but decided to go ahead with a campaign rally in Illinois that night.

Trump has previously declined to deliver unequivocal condemnation of neo-Nazis and other extremists in key moments, such as after last year's killing of a counterprotester at a white nationalist rally in Charlottesville, Va.

Robert Gregory Bowers, the alleged Pittsburgh gunman, echoed Trump's rhetoric on the migrant caravan, calling it a group of "invaders" in a social media post before the shooting.

Bowers railed against HIAS, a Jewish refugee resettlement organization he accused of helping bring people to the United States to carry out violence.

Updated at 5:49 p.m.