Complex sentence: It was rebuilt first in 1709 and a second time in 1766-1772, by the time, however, the strait had been made considerably narrower by land fillings.
Split into simpler sentences: It was rebuilt first in 1709 and a second time in 1766-1772. By that time, however, the strait had been made considerably narrower by land fillings.