<prompt> Translate the following text to EnglishKatika karne ya 17 na 20, milki ya Ottoman ilikuwa imefikia upeo wake mkubwa, ikitoka Batumi, upande wa mashariki wa Bahari Nyeusi, hadi Algeria, ikichukua Mesopotamia, Palestina, pwani za Bahari Nyekundu ikiwa ni pamoja na Mecca na Medina, Misri, Anatolia, Ugiriki, Balkan, Hungary, Moldova, pwani ya Afrika Kaskazini, Crimea, na kusini mwa Ukraine.  <response>: By the mid-17th century the Ottoman Empire had reached its greatest extent, stretching from Batumi at the eastern end of the Black Sea to Algeria, taking in Mesopotamia, Palestine, the shores of the Red Sea including Mecca and Medina, Egypt, Anatolia, Greece, the Balkans, Hungary, Moldavia, the North African coast, the Crimea, and southern Ukraine. 