They joined us through mutual agreement in 1707 (yes, Wikipedia I know, but it's a start) - something to do with getting access to trade in our colonies at the time, and Britain wanted defence against the French if they invaded Scotland, easier with political union:
Acts of Union 1707 -...