Complex sentence: Delaney was sworn in as Attorney General and Minister of Legal Affairs of The Bahamas in 2009, and held this office until 2012 when he returned to private legal practice.
Split into simpler sentences: Delaney was sworn in as Attorney General and Minister of Legal Affairs of The Bahamas in 2009. He held the office of Attorney General until 2012, when he returned to private legal practice.