Q Incident

The "Q Incident" was the Federation's first contact with the Borg in 2365, an event caused by the entity known as Q.

Contact between the Federation and the Borg was noted to have occurred much earlier than would otherwise have been the case due to the "Q Incident".