<prompt> Translate the following text to SwahiliBy the early 1800s independence movements had overthrown Spanish rule in most of the Western Hemisphere.  <response>: Kufikia mwanzoni mwa karne ya 19, harakati za uhuru zilikuwa zimepindua utawala wa Hispania katika sehemu kubwa ya Kizio cha Magharibi. 