<prompt> Translate the following text to EnglishHata hivyo, milki ya Ottoman ilikuwa ikidhoofika, na mwaka wa 1821 watu wa bara la Ugiriki walipata uhuru wa kitaifa kwa mara ya kwanza.  <response>: The Ottoman Empire was weakening, however, and in 1821, the peoples of the Greek mainland achieved nationhood for the first time. 