A Cook County judge has ruled attorney general candidate Scott Drury be removed from next month’s primary ballot over questions about whether he complied with the rules in filing of a statement of economic interest.

Drury’s campaign says they will appeal.

The case hinges on whether he properly submitted paperwork candidates have to file when running for office. A State Board of Elections hearing officer had recommended Drury’s removal, while the board’s general counsel disagreed.