A federal judge has ruled against a 27-year-old law banning out-of-state residents from applying for public jobs in Hawaii.

U.S. District Judge David Ezra on Wednesday granted the American Civil Liberties Union an injunction to prohibit the state from enforcing the requirement.