Celebrities from the music world, film industry, and politics have voiced their support and offered their condolences using the hashtags #PrayForNYC and #NYCStrong in the aftermath of a terrorist attack that rocked New York City on Tuesday, Oct. 31.

At least 15 people were injured and eight confirmed dead after a truck driver mowed down pedestrians and cyclists before ramming into a school bus in Lower Manhattan Tuesday afternoon close to the World Trade Center memorial site.

The driver, identified as a 29-year-old Uzbek national Sayfullo Habibullaevic Saipov from New Jersey, was shot in the abdomen by the police and rushed to a nearby hospital after he emerged from the vehicle shouting "Allahu Akbar," which is an Arabic translation of "God is Great."

Shortly after the attack, many stars took to social media to show their support, including Taylor Swift, who posted an Instagram story of the One World Trade Center building in the background. The "...Ready For It?" hitmaker captioned the story with the words, "I love you New York," and a broken heart emoji.

Actor and singer Josh Groban was walking his dog only half a block away from the scene of the terrorist attack shortly before it took place. Groban, who received a Tony nomination for his performance in Broadway's Natasha, Pierre & The Great Comet of 1812, detailed his account of the attack on Twitter.

Groban added that he was "shaking" and revealed that he usually has coffee at the corner where the attack took place, but his pet pulled him into a park half a block away about 10 minutes before the shooting.

Many other celebrities took to microblogging platform to express their solidarity with New Yorkers and offer sympathies to those affected by the terrorist attack.

"Unfolding tragedy in Manhattan today is awful, sad and unsettling," wrote Stranger Things star David Harbour. "My love and strength to all my fellow New Yorkers."

Donald Trump also condemned the attack in a series of tweets, calling the terrorist a "sick and deranged person" before offering his prayers to the victims and their families. Trump also said that he has already instructed Homeland Security to step up the vetting process for people entering the country.

Here are some of the other celebrity reactions on Twitter: