According to the article he originally got a diversity visa. Those are assigned, essentially at random, to countries that have not had much recent immigration to the US. They are one of the few ways for somebody without a very good education to get legal permission to move here.