Dreadnought - S2-E17
Continuity mistake: Dreadnought states there are fifteen priority targets approaching. On radar sixteen Rakosan ships are displayed. Then just before the Dreadnought attacks (and destroys three of) the approaching ships, there are a total of nineteen Rakosan ships displayed on radar.
Chosen answer: Before Q sent the Enterprise to the beta quadrant to officially contact the Borg, there were already indications that the Borg was beginning to reach Federation territory. There were remarks towards the end of the first season of the Next Generation that several of the furthest Federation outposts were being attacked by some unknown enemy. They suspected the Romulans, but when contact with the Romulans was re-established, they learned that it was not them. The Hansens had simply figured things out much earlier than anyone else in the Federation. They learned about the Borg nine years earlier, but Starfleet mainly took notice when their outposts started getting wiped out. It is logical to assume that there were indications of Borg scouting parties and research efforts well before that.
Garlonuss ★