The Union of 1707: the Historical Context