It is thought that Peter Harrison -LRB- 1716-1775 -RRB- , a Loyalist-leaning Massachusetts architect , built the Lindens in 1754 for Robert Cooper , a wealthy merchant whose nickname was King , as a summer house for his property in Danvers , Mass . , where it remained for nearly 200 years .