The basal and major pilins in the Corynebacterium diphtheriae SpaA pilus adopt similar structures that competitively react with the pilin polymerase.