Input (grade 4): The site, when first chosen, was in marshland outside the city walls.
Output (grade 4): When the site was chosen, it was a marshland outside the city walls.