AT&T and drug giant Novartis got nothing but bad publicity when they asked Donald Trump’s personal attorney Michael Cohen for help with business, but a Florida immigration firm that tapped him appears to have gotten nearly everything it wanted.

When Nicholas Mastroianni II hooked up with Cohen last year, his business was threatened by a looming regulatory crackdown on the federal EB-5 program that offers foreigners permanent residency visas if they invest in certain U.S. real estate projects.