<Tr> <Th> Basin countries </Th> <Td> Gibraltar Morocco Spain </Td> </Tr> <Tr> <Th> Max . depth </Th> <Td> 2,953 feet (900 m) </Td> </Tr> <P> The Strait of Gibraltar (Arabic: مضيق جبل طارق ‎ Madiq Jebel Tariq, Spanish: Estrecho de Gibraltar) is a narrow strait that connects the Atlantic Ocean to the Mediterranean Sea and separates Gibraltar and Peninsular Spain in Europe from Morocco and Ceuta (Spain) in Africa . The name comes from the Rock of Gibraltar, which in turn originates from the Arabic Jebel Tariq (meaning "Tariq's mountain") named after Tariq ibn Ziyad . It is also known as the Straits of Gibraltar, the Gut of Gibraltar (although this is mostly archaic), the STROG (Strait Of Gibraltar) in naval use, and Bab Al Maghrib (Arabic: باب المغرب ‎), "Gate of the West". In the Middle Ages, Muslims called it Al - Zuqaq, "The Passage", the Romans called it Fretum Gatitanum (Strait of Cadiz), and in the ancient world it was known as the "Pillars of Hercules" (Ancient Greek: αἱ Ἡράκλειοι στῆλαι). </P> <P> Europe and Africa are separated by 7.7 nautical miles (14.3 km; 8.9 mi) of ocean at the strait's narrowest point . The Strait's depth ranges between 300 and 900 metres (160 and 490 fathoms; 980 and 2,950 ft) which possibly interacted with the lower mean sea level of the last major glaciation 20,000 years ago when the level of the sea is believed to have been lower by 110--120 m (60--66 fathoms; 360--390 ft). Ferries cross between the two continents every day in as little as 35 minutes . The Spanish side of the Strait is protected under El Estrecho Natural Park . </P>

How did the strait of gibraltar get its name