WASHINGTON, DC - OCTOBER 31: Senate Minority Leader Chuck Schumer (D-NY) pauses while speaking during a press conference to discuss their proposals for raising the 401(k) pre-tax contribution limits, October 31, 2017 in Washington, DC. (Drew Angerer/Getty Images)
WASHINGTON, DC - OCTOBER 31: Senate Minority Leader Chuck Schumer (D-NY) pauses while speaking during a press conference to discuss their proposals for raising the 401(k) pre-tax contribution limits, October 31, 2017 in Washington, DC. (Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
Now playing
01:07
Schumer to Trump: Stop dividing, politicizing
The Home Depot truck used in the bike path attack is removed from the crime scene, Wednesday, Nov. 1, 2017, in New York. (AP Photo/Mark Lennihan)
The Home Depot truck used in the bike path attack is removed from the crime scene, Wednesday, Nov. 1, 2017, in New York. (AP Photo/Mark Lennihan)
PHOTO: Mark Lennihan/AP
Now playing
02:04
NYPD: Attack suspect followed ISIS playbook
Now playing
00:48
Victims in New York attack identified
A New York Police Department officer stands next to a body covered under a white sheet near a mangled bike along a bike path Tuesday Oct. 31, 2017, in New York. (AP Photo/Bebeto Matthews)
A New York Police Department officer stands next to a body covered under a white sheet near a mangled bike along a bike path Tuesday Oct. 31, 2017, in New York. (AP Photo/Bebeto Matthews)
PHOTO: Bebeto Matthews/AP
Now playing
01:14
Video shows horror of New York attack
NYC school bus attack
NYC school bus attack
PHOTO: Twitter/Sebastian Sobczak
Now playing
01:10
Video shows kids trapped in bus after attack
PHOTO: Tawhid Kabir Xisan/Snapchat
Now playing
00:30
Video appears to show suspect after truck attack
PHOTO: CNN
Now playing
01:49
Cuomo: Terror suspect radicalized domestically
NEW YORK, NY - OCTOBER 31: NYPD officers respond after reports of multiple people hit by a truck after it plowed through a bike path in lower Manhattan on October 31, 2017 in New York City. According to reports up to six people may have been killed. (Photo by Kena Betancur/Getty Images)
NEW YORK, NY - OCTOBER 31: NYPD officers respond after reports of multiple people hit by a truck after it plowed through a bike path in lower Manhattan on October 31, 2017 in New York City. According to reports up to six people may have been killed. (Photo by Kena Betancur/Getty Images)
PHOTO: Kena Betancur/Getty Images
Now playing
01:09
New York witness: Bodies had tire tracks
PHOTO: Sruli/Twitter
Now playing
00:40
Video shows bike path after NYC truck incident
Now playing
00:57
NYPD commissioner: This is not about Islam
Now playing
01:03
Gov. Cuomo: Our spirit is stronger than theirs
Now playing
01:16
NYC mayor on attack: Cowardly act of terror
PHOTO: Reuters
Now playing
01:34
NYC residents resilient after truck attack
Investigators inspect a truck following a shooting incident in New York on October 31, 2017. 
Several people were killed and numerous others injured in New York on Tuesday when a suspect plowed a vehicle into a bike and pedestrian path in Lower Manhattan, and struck another vehicle on Halloween, police said. A suspect exited the vehicle holding up fake guns, before being shot by police and taken into custody, officers said. The motive was not immediately apparent.

 / AFP PHOTO / Don EMMERT        (Photo credit should read DON EMMERT/AFP/Getty Images)
Investigators inspect a truck following a shooting incident in New York on October 31, 2017. Several people were killed and numerous others injured in New York on Tuesday when a suspect plowed a vehicle into a bike and pedestrian path in Lower Manhattan, and struck another vehicle on Halloween, police said. A suspect exited the vehicle holding up fake guns, before being shot by police and taken into custody, officers said. The motive was not immediately apparent. / AFP PHOTO / Don EMMERT (Photo credit should read DON EMMERT/AFP/Getty Images)
PHOTO: DON EMMERT/AFP/Getty Images
Now playing
02:06
Vehicles as weapons: A disturbing trend
NEW YORK, NY - OCTOBER 31: NYPD officers respond after reports of multiple people hit by a truck after it plowed through a bike path in lower Manhattan on October 31, 2017 in New York City. According to reports up to six people may have been killed. (Photo by Kena Betancur/Getty Images)
NEW YORK, NY - OCTOBER 31: NYPD officers respond after reports of multiple people hit by a truck after it plowed through a bike path in lower Manhattan on October 31, 2017 in New York City. According to reports up to six people may have been killed. (Photo by Kena Betancur/Getty Images)
PHOTO: Kena Betancur/Getty Images
Now playing
00:35
Witnesses: Driver yelled 'Allahu Akbar'
PHOTO: WPIX
Now playing
01:35
NYPD: Truck drove wrong way on bike path

Story highlights

President Donald Trump called out Sen. Chuck Schumer in tweets Wednesday

Trump's tweets highlight Schumer's role in a 'Diversity Visa Lottery Program'

(CNN) —  

Senate Minority Leader Chuck Schumer blasted President Donald Trump on Wednesday for casting blame‎ on him in the aftermath of a deadly terror attack in New York, saying the President should “stop tweeting and start leading.”

“All President Trump does is to take horrible advantage and try to politicize and divide,” the New York Democrat said at a news conference in Washington, adding that Trump can’t refrain from his “nasty, divisive habits.”

Schumer contrasted Trump’s response to then-President George W. Bush’s response in the aftermath of September 11, 2001, terror attacks. In the aftermath of 9/11, Schumer said, Bush had him and other New York politicians over the White House the next day. The terror attack in New York that killed eight people Tuesday is the deadliest such attack since 9/11.

Earlier Wednesday, Trump sent a series of tweets blaming Schumer for an immigration program under which the alleged New York suspect, a 29-year-old Uzbek national, was allowed into the country in 2010.

“The terrorist came into our country through what is called the ‘Diversity Visa Lottery Program,’ a Chuck Schumer beauty,” Trump tweeted. “I want merit based.”

He added shortly thereafter: “We are fighting hard for Merit Based immigration, no more Democrat Lottery Systems. We must get MUCH tougher (and smarter).”

RELATED: What is the diversity visa lottery?

Schumer helped shape the 1990 legislation that created the Diversity Immigrant Visa Program, but he also played a lead role in the 2013 “Gang of Eight” bill that that passed the Senate on a bipartisan basis and included removing the diversity lottery program. That bill was never picked up by the House.

The diversity visa has been contentious for years. The 50,000 visas, distributed by random selection among countries where there is a low rate of immigration to the US, were originally designed to diversify the pool of immigrants to the US. The visas offer immigrants green cards, permanent legal residence and a path to citizenship.

Schumer, echoing his earlier statements, called out Trump over anti-terrorism funding cuts in the proposed budget. He refused to comment on whether the diversity lottery program needed to be revisited – saying the details are not yet fully known yet about the suspect.

Schumer said he hopes Trump’s tweets do not have an impact on moving forward on the Deferred Action for Childhood Arrival program, which Trump said he would end last month, giving Congress a six-month window to pass a fix to the immigration program.

CNN’s Tal Kopan and Dan Merica contributed to this report.