An attack in New York on Tuesday in which a man driving a pickup truck killed eight people and injured more than 12 others shook residents of the country's most populous city. A suspect was shot by police and taken into custody after what authorities described as a terrorist incident.
The following are some of the other attacks carried out in New York in recent years:
2017: James Harris Jackson, a 28-year-old white man, stabbed Timothy Caughman, an African-American, multiple times with a sword in March. Caughman later died of his injuries and Jackson told police he traveled to the city from Maryland to kill black men.
2016: Three bombs exploded in the New York area, two in Manhattan's Chelsea neighborhood and one in New Jersey, in September, wounding 31 people. Several unexploded bombs were also found. The suspect, Ahmad Khan Rahimi of New Jersey, was captured after a shootout with police. Rahimi, now 29, who was born in Afghanistan, was influenced by anti-American materials believed to be produced by militant group al Qaeda, prosecutors said.
2010: Times Square was evacuated in May when a car bomb that failed to explode was found in a sport utility vehicle. Faisal Shahzad, a naturalized American and Taliban-trained militant, later pleaded guilty and was sentenced to life imprisonment.
2008: An individual detonated a small pipe bomb in front of the U.S. Armed Forces recruiting station in Times Square in March. There were no injuries.
2001: On the morning of September 11, members of al Qaeda flew two passenger planes into the north and south towers of Manhattan's World Trade Center. The attacks, which involved a third plane that crashed into the Pentagon and a plane that crashed in Shanksville, Pennsylvania, killed 2,996 people and injured over 6,000 others. The death toll included some 2,600 people who were in the World Trade Center and on the ground in the subsequent collapse of the towers.
1997: Palestinian teacher Ali Hassan Abu Kamal opened fire on the observation deck of the Empire State Building in February, killing one person and wounding six others before shooting himself.
1994: Lebanese-born immigrant Rashid Baz shot at a van of Orthodox Jewish students on the Brooklyn Bridge, killing one and wounding three others.
1993: Militants detonated a truck bomb below the North Tower of the World Trade Center in February, killing six people and injuring over a thousand
Read more: Latest world news | Tunnel collapse may have killed 200 after N.Korea nuclear test