Input: When did scotland become part of the union?
Output: 

 When did scotland become part of the union due to the Treaty of Union? 
 22 July 1706