A proceeding in lieu of prerogative writ may be instituted as of right against any person for usurping, intruding into or unlawfully holding or executing any municipal office or franchise in this state, by any person who believes himself lawfully entitled to such office or franchise.
N.J.S. § 2A:66-8