Complex sentence: In 1886 he inherited Maxwelton House at Moniaive, Dumfriesshire through his mother's line and his great-uncle Sir Robert Laurie and, as a condition of the will, changed his surname to Laurie in February 1887.
Split into simpler sentences: In 1886 he inherited Maxwelton House at Moniaive, Dumfriesshire through his mother's line. As a condition of Robert Laurie's will, Bayley changed his surname to Laurie in February 1887.