Edward A. Hastings, a former Town of Wilson councilman, pleaded guilty Monday in City Court to a charge of nominating petition fraud from the 2005 election campaign.