Outside the archeological and mythical record, the historical record more firmly details the establishment of a manor by Hugh Tyrell after the Anglo-Norman invasion of 1169. In 1177 Tyrell, Baron of Castleknock, granted lands at Kilmainham to the Priory of St. John of Jerusalem (Knights Hospitallers). The grant included a portion of the land that now makes up the Phoenix Park and Chapelizod. After the Dissolution of the Monasteries, the lands reverted to the Crown and from that time onward were used as a Royal seat. This was made explicit by the Duke of Ormonde after he successfully lobbied for the creation of an enclosed deer park outside Dublin in 1662. The 'King's House', a Royal Residence built by and used as an out of town residence by the Viceroy, formerly faced the millrace on the banks of the Liffey. It was used as the royal residence in Ireland until the mid-eighteenth century, when the Viceregal Lodge was completed in the Phoenix Park.