In 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 .
It was due to the efforts of one aristocrat that decrees were passed banning slavery .