though mostly used as a trading post and land office , fort frederick gave comfort to the settlers in this territory that had been the subject of contention long before hostilities with england had broken out in massachusetts colony earlier in the year .