Complex sentence: Sampson Gideon (as he then was) was created a baronet in 1759, and in 1789 an Irish peer with the title of Lord Eardley, of Spalding in the county of Lincolnshire.
Split into simpler sentences: Sampson Gideon (as he then was) was created a baronet in 1759. In 1789, he was created an Irish peer, with the title of Baron Eardley of Spalding in the county of Lincolnshire.