Where did the word guineas come from?

The English term Guinea comes directly from the Portuguese word Guiné, which emerged in the mid-15th century to refer to the lands inhabited by the Guineus, a generic term for the black African peoples south of the Senegal River (as opposed to the 'tawny' Zenaga Berbers, north of it, whom they called Azenegues or Moors).