Tangier is a major city in northern Morocco with a population of about 1,850,000 . It is located on the North African coast at the western entrance to the Strait of Gibraltar where the Mediterranean Sea meets the Atlantic Ocean off Cape Spartel. It is the capital of the Tangier-Tetouan Region and of the Tangier-Asilah prefecture of Morocco.