Were all of these in the country legally or illegally?

How long had they been here? How did they get in?