CONCORD, N.H. (AP) — New Hampshire voters have defeated a proposed constitutional amendment that would have barred an income tax.

The proposed amendment gained a majority of the vote but fell short of the two-third approval it needed for passage.

New Hampshire is one of only two states with no income or sales tax; Alaska is the other.

The amendment’s defeat all but guarantees that New Hampshire’s ‘‘anti-tax pledge’’ will continue to be a hot-button issue in gubernatorial and legislative campaigns.

Voters also resoundingly rejected calling a constitutional convention at which delegates could propose future amendments.

Another proposal before voters was too close to call: a constitutional amendment that would give the legislature the power to make rules for the court system.