The Mexican national has lived in California for more than two decades but was detained by federal agents.