Complex sentence: From 2005 to 29 January 2015 he served as secretary general of the National Security Council, and was director general of the Saudi Intelligence Agency from 2012 to 2014.
Split into simpler sentences: From 2005 to 29 January 2015 he served as secretary general of the National Security Council. He was director general of the Saudi Intelligence Agency from 2012 to 2014.