The Bangladesh-born terror suspect who allegedly attempted to detonate a suicide-bomb in New York was able to enter the United States as a foreign relative of an immigrant, extended-family member who had won a visa to the U.S. under the Diversity Visa Lottery.

On Monday 27-year-old Akayed Ullah, a Bangladesh national, injured three individuals when he allegedly tried to detonate a suicide bomb in New York City in a planned terrorist attack.

JUST IN: 27 y/o Terrorist who is from Bangladesh and was living in Brooklyn, told authorities “They’ve been bombing in my country and I wanted to do damage here, Terrorist was also a cab driver. pic.twitter.com/vhtfzadgoc — NYC Scanner (@NYScanner) December 11, 2017

In a statement by the Department of Homeland Security (DHS), Ullah was able to enter the U.S. in 2011 as a foreign relative after one of his family members was awarded a Green Card in the Visa Lottery.

Every year, the Visa Lottery — championed by Sen. Chuck Schumer (D-NY) — gives out 50,000 visas to foreign nationals from a multitude of countries, including those with known terrorist problems – such as Afghanistan, Algeria, Bangladesh, Egypt, Iraq, Lebanon, Libya, Nigeria, Saudi Arabia, Somalia, Syria, Trinidad and Tobago, Venezuela, Yemen, and Uzbekistan.

The suspect is originally from Bangladesh and entered the U.S. in 2011 receiving a green card under the fourth family based preference. The Administration has advocated for ending both Chain Migration and the current Diversity Visa lottery program (2/2) — Tyler Q. Houlton (@SpoxDHS) December 11, 2017

As Breitbart News reported, Ullah was able to obtain a visa as the nephew of his Visa Lottery relative. This process of extended-family mass immigration to the U.S. is known as “chain migration.”

Chain migration allows new immigrants to the U.S. to bring an unlimited number of foreign relatives with them.

Ullah came to the U.S. through the F43 visa, allowing him to obtain a Green Card simply because his father’s brother or sister had recently been allotted a visa under the Visa Lottery.