Martinsburg was founded in 1778 by General Adam Stephen and named in honor of Colonel Thomas Bryan Martin . Martinsburg was founded in 1778 by General Adam Stephen who named it in honor of Colonel Thomas Bryan Martin , a nephew of Thomas Fairfax , 6th Lord Fairfax of Cameron .