ref
mid 19th century: from candidate + -acy.
candidate + -cy
candidacy (n.)
"state of being a candidate," 1822; see candidate + abstract noun suffix -cy.