Complex sentence: Inverleith was for over two centuries owned by the Rocheid (sometimes spelt Rochead) family which ended with a co-heiress, Mary (d.1749) who married Sir Francis Kinloch, 3rd Baronet, of Gilmerton (1676-1747).
Split into simpler sentences: Inverleith was for over two centuries owned by the Rocheid (sometimes spelt Rochead) family. It changed hands when a co-heiress, Mary (d.1749) married Sir Francis Kinloch, 3rd Baronet, of Gilmerton (1676-1747).