Complex sentence: The Tower was used for signaling the ships later being replaced by automatic lighthouses.
Split into simpler sentences: The Tower was used for signaling the ships. Later was replaced by automatic lighthouses.