Complex sentence: The castle had long been in the hands of the Cunninghames and notably it was owned by Dr. Robert Cunninghame who was created a Baronet of Nova Scotia in 1673 and was Physician to Charles II in Scotland.
Split into simpler sentences: The castle had long been in the hands of the Cunninghames and notably. Auchenharvie's most famous owner was Dr. Robert Cunninghame who was created a Baronet of Nova Scotia in 1673 and was Physician to Charles II in Scotland.