Rochester was incorporated in 1722 and became part of Rockingham County in 1771.