The state Board of Elections voted to authorize the alternative We the People party, allowing presidential candidate Robert F. Kennedy Jr. to appear on North Carolina ballots in November.

The Board rejected with a 3-2 vote along party lines the Justice for All party, Cornel West’s alternative party. Democrats rejected the Justice for All attempt to become a recognized party in part over questions about signatures on its petitions.

Tuesday’s votes came after weeks of deliberations, a request from Democrats on the board for an investigation into the petition efforts, and pressure from state and congressional Republicans to have both parties approved.