This page details the History of the Borg Collective. Intelligence provided by Erika Hernandez during in the Borg Invasion of 2381 suggest the Borg have a definite point of origin from a crashed and temporally-displaced Caeliar cityship, Mantilis, in 4527 BC. However there has also been evidence...
memory-beta.fandom.com
In consequence of the final free thought of Lieutenant Graylock (vowing that he will never be a "cyborg") imprinting upon the Collective consciousness, the new collective entity referred to itself as the
Borg.
Starfleet Captain William T. Riker of the USS Titan made the most difficult decision of his career to that point, and agreed to former United Earth Starfleet Captain Erika Hernandez's assistance to depart New Erigol and escape the Caeliar. Doing so meant leaving behind his away team, including...
memory-beta.fandom.com