6 dated entries naming Fife, drawn from 6 separate years between 596 CE and 1679 CE. Nothing here is written by us: each line is the sentence a Wikipedia year article used, and the link beside it opens the exact revision.
596Battle of Raith: An invading force of Angles lands on the Fife coast near Raith (Kirkcaldy) and defeats an alliance of Scots, Britons and Picts, under King Áedán mac Gabráin of Dál Riata (Scotland).source
7th century
663King Oswiu of Northumbria invades Pictland (modern Scotland). He establishes overlordship of, at least, the Southern Pictish sub-kingdoms of Fortriu and Fib (and possibly Circinn).source
9th century
877King Constantin I is killed fighting Viking raiders, at the "Black Cave" in Fife. He is succeeded by his brother Áed mac Cináeda as ruler of Alba (Scotland).source
13th century
1286March 19 – King Alexander III dies in a fall from his horse at Kinghorn in Fife, leaving Queen Yolande of Dreux's unborn child and the 3-year-old Margaret (Maid of Norway) as heirs to the throne. After Alexander's death, Scotland is governed by the nobility and clergy, known collectively as the Guardians of Scotland. This sets the stage for the First War of Scottish Independence.source
16th century
1547June 29 – A fleet of 21 French galleys, commanded by Leone Strozzi, arrives at Fife in Scotland and begins the siege of St Andrews Castle.source
17th century
1679May 3 – James Sharp, the Church of Scotland's Archbishop of St Andrews, is assassinated at Magus Muir in Fife, when his coach is ambushed by a group of nine of the Scottish Covenanters. Only two of the assassins, David Hackston and Andrew Guillan, are captured.source