(reuters) -- Sayfullo Saipov, 29, who was hospitalized after he was shot by a police officer and arrested, told investigators he had been inspired by watching Isis videos and began planning Tuesday's attack a year ago, according to a criminal complaint filed against him on Wednesday.
"NYC terrorist was happy as he asked to hang ISIS flag in his hospital room. He killed 8 people, badly injured 12. SHOULD GET DEATH PENALTY!" Trump tweeted.
Saipov was charged with one count of providing material support and resources to a foreign terrorist organization, specifically Isis, and one count of violence and destruction of motor vehicles causing the deaths of eight people.
Manhattan acting U.S. Attorney Joon Kim said the first count carries a maximum penalty of life in prison, while the second would make Saipov eligible for capital punishment if convicted, if the government chose to seek the death penalty. Additional or different charges could be brought later in an indictment, Kim said.
Vehicle assaults similar to the New York attack took place in Spain in August and in France and Germany last year, claiming dozens of lives. Saipov confessed to authorities that he made a trial run with a rental truck on Oct. 22 to practice turning the vehicle and "stated that he felt good about what he had done" after the attack, the complaint said.
The 10-page charging document said Saipov waived his rights to remain silent and avoid self-incrimination in agreeing to speak to investigators without an attorney present from his bed at Bellevue Hospital Center in Manhattan.
The complaint said Saipov had requested permission to display the flag of the Isis militant group in his hospital room.
It said he was particularly motivated by seeing a video in which Abu Bakr al-Baghdadi, who led the campaign by Isis to seize territory for a self-proclaimed caliphate within Iraq and Syria, exhorted Muslims in the United States and elsewhere to support the group's cause.
Investigators found thousands of ISIS-related propaganda images and videos on a cellphone belonging to Saipov, including video clips showing ISIS prisoners being beheaded, run over by a tank and shot in the face, the complaint said.
The Federal Bureau of Investigation said it had located another Uzbek man, Mukhammadzoir Kadirov, 32, wanted for questioning as a person of interest in the attack.
U.S. law enforcement officials, speaking on condition of anonymity because the investigation was ongoing, told Reuters that Saipov had been in contact with Kadirov and another person of interest in the investigation, though they did not elaborate.
(Photo: KMOV via AP)