Trump's began tweeting about the attack in the afternoon, writing, \"In NYC, looks like another attack by a very sick and deranged person,\" Trump wrote on Twitter. \"Law enforcement is following this closely. NOT IN THE U.S.A.!\"

In NYC, looks like another attack by a very sick and deranged person. Law enforcement is following this closely. NOT IN THE U.S.A.!

— Donald J. Trump (@realDonaldTrump) October 31, 2017

The attack took place on a bike path on Manhattan's West Side just after 3 p.m. The suspect, Sayfullo Saipov, 29, of Tampa, Florida, was taken into custody. New York City Mayor Bill de Blasio declared the incident a \"cowardly act of terror\" at a press conference.

The president later posted another tweet to offer his \"thoughts, condolences and prayers to the victims and families\" affected by the attack. \"God and your country are with you!\" he said.

My thoughts, condolences and prayers to the victims and families of the New York City terrorist attack. God and your country are with you!

— Donald J. Trump (@realDonaldTrump) October 31, 2017

The president also tweeted: \"We must not allow ISIS to return, or enter, our country after defeating them in the Middle East and elsewhere. Enough!\"

We must not allow ISIS to return, or enter, our country after defeating them in the Middle East and elsewhere. Enough!

— Donald J. Trump (@realDonaldTrump) October 31, 2017

The White House later released an official statement from the president on the attack.

\"Our thoughts and prayers are with the victims of today’s terrorist attack in New York City and their families. My administration will provide its full support to the New York City Police Department, including through a joint investigation with the Federal Bureau of Investigation,\" the statement said. \"We offer our thanks to the first responders who stopped the suspect and rendered immediate aid to the victims of this cowardly attack. These brave men and women embody the true American spirit of resilience and courage. I will continue to follow developments closely.\"

Shortly after Trump's first tweet, Vice President Mike Pence added that he was \"saddened by the tragedy in NYC\" and that \"those responsible must be held accountable.\"

Saddened by the tragedy in NYC. Our prayers are w/the victims, their families & first responders. Those responsible must be held accountable

— Vice President Pence (@VP) October 31, 2017

First lady Melania Trump tweeted, \"My heart breaks for #NYC today. Thoughts & prayers as we monitor the situation.\"

My heart breaks for #NYC today. Thoughts & prayers as we monitor the situation.

— Melania Trump (@FLOTUS) October 31, 2017

Former New York Sen. Hillary Clinton tweeted, \"New York's resilience is stronger than a cowardly act of terror. Thinking of the victims, their families, & the responders who saved lives.\"

New York's resilience is stronger than a cowardly act of terror. Thinking of the victims, their families, & the responders who saved lives.

— Hillary Clinton (@HillaryClinton) November 1, 2017

Sen John Neely Kennedy, R-La., praised police officers for their swift response to the attack in comments made to reporters at the Capitol.

“I know law enforcement is concentrating on it. But I don’t know how you stop something like that,” Kennedy said in a speech on the senate floor. “You can’t assign a police officer to every American.”

“There just a lot of people in the world who are bad. I wish that weren’t the case,” he added. “They’re not shocked. They’re not confused. They’re not mixed up. They’re just plain damn bad.”

Sen. Elizabeth Warren, D-Mass., said she was keeping the victims and first responders in her thoughts.

Keeping the victims, first responders, & people of NY in our thoughts tonight. We will not let terrorism or fear divide us. #NYCStrong

— Elizabeth Warren (@SenWarren) October 31, 2017

Sen. Marco Rubio, R-Fla., said his “thoughts and prayer are with the victims in New York.”

My thoughts and prayers are with the victims in New York. Grateful for our brave first responders.

— Marco Rubio (@marcorubio) October 31, 2017

Sen. Kamala Harris, D-Calif., celebrated the NYPD and first responders for their “quick actions.”

Devastated to hear this news out of New York City. We stand with you.

— Kamala Harris (@SenKamalaHarris) October 31, 2017

Keeping those killed and injured in NYC in my prayers. Thankful for the quick actions of the NYPD and first responders.

— Kamala Harris (@KamalaHarris) October 31, 2017

Sen. Bob Corker, R-Tenn., sent prayers and condolences to those impacted by the \"tragic\" attack.

We are praying for the victims of the tragic terror attack in New York City and thank law enforcement officials for their swift response.

— Senator Bob Corker (@SenBobCorker) October 31, 2017
","canonicalUrl":"https://abcnews.com/Politics/trump-responds-nyc-attack-suspect-sick-deranged-person/story?id=50846360","legacySlug":"/news/story/trump-responds-nyc-attack-suspect-sick-deranged-person-50846360","noIndexNoFollow":false},"publishTime":"06:40","publishDate":"11-01-2017","updatedTime":"06:40","updatedDate":"11-01-2017","socialImage":{"alt":"President Donald Trump speaks during a meeting in the Oval Office of the White House in Washington, Oct. 23, 2017.","credit":"Evan Vucci/AP, FILE","ratio":"16x9","url":"https://s.abcnews.com/images/Politics/donald-trump-01-ap-jc-171029_16x9_1600.jpg","width":992,"height":558},"datePublished":"11/1/2017 06:40:00 GMT","video":{"live":false,"id":50846360,"headline":"Trump responds to attack, calls suspect 'deranged'","mediaAssetTitle":"TRUMP_NYC_RESPONSE","description":"The vehicular attack killed eight people. ","duration":"0:47","posterImg":{"url":"https://s.abcnews.com/images/GMA/default-img-undefined.png","width":608,"height":342},"video":{"feed":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2017/10/171031_wn_bruce_641_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8"},"playlist":["50842052","50848410","50846394"]},"relatedItems":[{"contentType":"story","date":"November 1, 2017","headline":"8 dead after truck plows into people in NYC in 'cowardly act of terror': Mayor","section":"news","slug":"/news/story/dead-truck-plows-people-york-city-cowardly-act-50842052","id":50842052,"image":{"alt":"8 dead after truck plows into people in NYC in 'cowardly act of terror': Mayor","url":"https://s.abcnews.com/images/US/nyc-incident-woman-injured-rt-ps-171031_4x3t_240.jpg","credit":"Brendan McDermid/Reuters","ratio":"1x1"}},{"contentType":"video","date":"October 31, 2017","headline":"Trump responds to NYC attack","section":"news","slug":"/video/50848410","id":50848410,"image":{"alt":"Trump responds to NYC attack","url":"https://s.abcnews.com/images/WNT/171031_wn_brianross3_4x5_240.jpg","credit":"ABCNews.com","ratio":"1x1"}},{"contentType":"video","date":"October 31, 2017","headline":"Several dead, others injured after being hit by vehicle in New York City","section":"news","slug":"/video/50846394","id":50846394,"image":{"alt":"Several dead, others injured after being hit by vehicle in New York City","url":"https://s.abcnews.com/images/WNT/171031_wn_benitez2_4x5_240.jpg","credit":"ABCNews.com","ratio":"1x1"}}],"relatedContentSection":"news","schemaContent":{"name":"Trump responds to attack, calls suspect 'deranged'","description":"The vehicular attack killed eight people. ","duration":"0:47","uploadDate":"11-01-2017","publication":"11-01-2017","images":"https://s.abcnews.com/images/GMA/default-img-undefined.png","url":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2017/10/171031_wn_bruce_641_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","contentUrl":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2017/10/171031_wn_bruce_641_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","link":"https://www.goodmorningamerica.com/news/story/trump-responds-nyc-attack-suspect-sick-deranged-person-50846360"}},"playlist":[{"id":"132281378","contentType":"story","section":"news"},{"id":"132283010","contentType":"story","section":"news"},{"id":"132273278","contentType":"story","section":"news"},{"id":"132231169","contentType":"story","section":"news"},{"id":"132206748","contentType":"story","section":"news"},{"id":"132200241","contentType":"story","section":"news"},{"id":"132054443","contentType":"story","section":"news"},{"id":"132054798","contentType":"story","section":"news"},{"id":"132033010","contentType":"story","section":"news"},{"id":"131912713","contentType":"story","section":"news"},{"id":"131830583","contentType":"story","section":"news"},{"id":"131834976","contentType":"story","section":"news"},{"id":"131554765","contentType":"story","section":"news"},{"id":"131554815","contentType":"story","section":"news"},{"id":"131543053","contentType":"story","section":"news"},{"id":"131432442","contentType":"story","section":"news"},{"id":"131121474","contentType":"story","section":"news"},{"id":"131247079","contentType":"story","section":"news"},{"id":"131228784","contentType":"story","section":"news"},{"id":"131178806","contentType":"story","section":"news"}],"kvps":{"pgtyp":"article","lang":"en","sp":"goodmorningamerica","programmatic":"true","bundleId":"com.abcnews"}},"analytics":{"accountID":"wdgnewwdgnewgmaweb","ns":"gma","pageName":"gma:news:video","pageType":"video","globalSpecVersion":"v1.08","siteDifferentiator":"gma:site","tagID":"g_page01","userABCookie":"0","section":"news","title":"Trump responds to attack, calls suspect 'deranged'","pubTime":"02:40","pubDate":"11-01-2017","modTime":"02:40","modDate":"11-01-2017","taxonomyTags":"none","id":50846360,"editorialOtherSubjects":"","wordCount":"none","columns":"none","authors":"","authorsUnit":"none","authorsBureau":"none","subBrand":"Good Morning America","provider":"Good Morning America","videoName":"Trump responds to attack, calls suspect 'deranged'","mediaAssetTitle":"TRUMP_NYC_RESPONSE","videoId":50846360,"mediaOnPage":"video","legacySlug":"/news/story/trump-responds-nyc-attack-suspect-sick-deranged-person-50846360"},"taboola":{}},"request":{"headers":{},"httpVersion":"1.1","method":"GET","url":"/video/50846360","vary":{"host":"www.goodmorningamerica.com","cached":true,"path":"/video/50846360","forwarded-proto":"https","device":"desktop","userab":"0"}},"viewport":{"width":1260,"height":0},"user":{}};