The buildings were connected by extensive networks of tunnels that lead to adjoining districts and possibly stretched to the coast of the Mediterranean Sea, which is 3 kilometers , and elsewhere in the city of Tripoli.