Prime Timeline
   | Year | Event | 
   | 2040 | 
         ● [1]
         Television ceases to exist as a form of entertainment. [1]
      
 | 
   | 2364 | 
       ● [2]
         The Borg make their first attack on the Federation, destroying several outposts near the Romulan border. The Romulans re-establish diplomatic ties with the Federation. [2] | 
   
Colour key
● - Shows the canon status and reference of the year for this event
References
| # | Series | Season | Source | Comment | 
| 1 | TNG | 1 | The Neutral Zone | Data states that television had gone by this time | 
| 2 | TNG | 1 | The Neutral Zone | Note that this episode is the foundation of most Star Trek dates - Data states the year as 2364, and it is from this datapoint that the bulk of dates in Star Trek are calculated |