Complex sentence: He lived there for three happy years with his beautiful mistress, Madame de Saint Laurent, before he was posted to Halifax, Nova Scotia in 1794.
Split into simpler sentences: He lived there for three years with his beautiful mistress, Madame de Saint Laurent. He happily remained there until posted to Halifax, Nova Scotia in 1794.