<prompt> Translate the following text to SwahiliThe Ottoman Empire surrendered when World War I ended the following year, and, following a declaration by the League of Nations the forerunner to the United Nations, Britain became rulers of Palestine by mandate.  <response>: Milki ya Ottoman ilijisalimisha wakati Vita vya Kwanza vya Ulimwengu vilipomalizika mwaka uliofuata, na, kufuatia tangazo la Jumuiya ya Mataifa mwanzilishi wa Umoja wa Mataifa, Uingereza ikawa watawala wa Palestina kwa amri. 