sentence1: The royal entourage needed some form of lodging, and a guesthouse was built adjoining the abbey to be used as a base for hunting parties.
sentence2: During hunting parties the royal entourage had a guesthouse to use.