Built from the eighth to the 12th centuries, San Pietro stands at the ba ck of a grassy courtyard with Etruscan sarcophagi, beside two crumbling medieval towers.

Does it follow that "San Pietro took 400 years to build and is located in a courtyard."?
yes