The undocumented construction worker was detained in May when he showed up at Travis Air Force Base to work a government construction job. Since then, Mejia's family and complete strangers have been fighting to get him released.
RELATED: North Bay man detained by immigration officials
"It's the first time I feel again to be free and waiting for see my family is what I want right now. I have to say thank you. They believe in me because they know me. My family and I are good persons," said Mejia.
Mejia still faces an uphill legal battle as he seeks asylum here in the U.S.
He's also facing a Ninth Circuit Court of Appeals case to determine if ICE acted illegally in detaining him this past spring.
Click here to read more stories on immigration.