Complex sentence: In December 1832, he was returned unopposed for Leith Burghs, which had been enfranchised under the bill, and was appointed recorder of the great roll and clerk of the pipe, a sinecure in the Scottish exchequer which he did not long hold.
Split into simpler sentences: In December 1832, he was returned unopposed for Leith Burghs, which had been enfranchised under the bill. He was appointed recorder of the great roll and clerk of the pipe, a sinecure in the Scottish exchequer which he did not long hold.