工程横跨了两个世纪才完成,

The construction straddled two centuries.

Source: Tatoeba

Sentence Composition