1 7 2 2 ▁and ▁was ▁elected ▁a ▁representative ▁peer ▁in ▁ 1 7 3 1 , ▁sitting ▁in ▁the ▁House ▁of ▁L ords ▁until ▁ 1 7 6 1 . ▁From ▁ 1 7 3 2 ▁to ▁ 1 7 3 8 , ▁L oth ian ▁was ▁Lord ▁High ▁Commission er ▁to ▁the ▁General ▁Assembly ▁of ▁the ▁Church ▁of ▁Scotland , ▁and ▁he ▁was ▁appointed ▁a ▁Knight ▁of ▁the ▁Th ist le ▁in ▁ 1 7 3 4 . ▁From ▁ 1 7 3 9 ▁until ▁his ▁res ignation ▁in ▁ 1 7 5 6 , ▁he ▁was ▁Lord ▁C ler k ▁Register . ▁ ▁Personal ▁life ▁On ▁ 7 ▁December ▁ 1 7 1 1 , ▁he ▁married ▁Margaret ▁Nicol son , ▁daughter ▁of ▁Sir ▁Thomas ▁Nicol son , ▁ 1 st ▁Baron et ▁and ▁Margaret ▁( née ▁Nicol son ) ▁Hamilton ▁Nicol son . ▁His ▁wife ' s ▁mother ▁was ▁previously ▁married ▁to ▁James ▁Hamilton ▁of ▁Ball inc rie ff , ▁with ▁whom ▁she ▁had ▁Alexander ▁Hamilton ▁of ▁Ball inc rie ff . ▁They ▁had ▁three ▁children : ▁▁ ▁William ▁Henry ▁K err , ▁ 4 th ▁Mar qu ess ▁of ▁L oth ian ▁( 1 7 1 0 – 1 7 7 5 ) ▁ ▁Lord ▁Robert ▁K err ▁( d . ▁ 1 7 4 6 ), ▁who ▁was ▁killed ▁at ▁the ▁Battle ▁of ▁C ull oden . ▁ ▁Lady ▁Jane ▁K err , ▁who ▁died ▁young . ▁ ▁His ▁first ▁wife ▁died ▁on ▁ 3 0 ▁September