King David I of Scotland invaded England in the summer of 1138 in support of his niece, the Empress Matilda, who was embroiled in a fight against her cousin, King Stephen (of Blois) for control of the English throne. This period of civil war, known as the Anarchy, raged in England from 1135 until 1153.