<prompt> Translate the following text to SwahiliIn 1872, one momentous decree abolished the 350-year-old institution of slavery in Puerto Rico, and in 1897 Spain cut the colonial ties and finally granted the island autonomy.  <response>: Mwaka 1872 sheria ya utumwa ilifutwa na Hispania na mwaka 1897 ilifungwa na Uhispania na kisiwa hicho kikawa na uhuru. 