An Assembly candidate thrown off the June primary ballot because he works for a federally funded agency has won reinstatement.

The Appellate Division on Tuesday reversed a Hudson County judge who found Carmelo Garcia, executive director of the Hoboken Housing Authority, subject to a regulation barring elective office to those employed “in connection with a program financed in whole or in part by federal funds or loans.”