According to the Washington Post the bill/measure that eventually became the "Diversity Visa Program" was indeed proposed by then-Rep. [D] Chuck Schumer of New York .
Secondly, The terrorist in question came to the USA in 2010 and was radicalized during Obama administration over the last 7 years of his term. After that, he apparently has just been awaiting his orders.