Complex sentence: Having fallen in love with her, he seeks to keep her out of harm and does this by preventing her from duelling Markham's friend, Mr Rensley.
Split into simpler sentences: Having fallen in love with her, he seeks to keep her out of harm. He does this in part by preventing her from duelling Markham's friend, Mr Rensley.