Original: Immediately before this he had served as Chancellor of the Exchequer in the Labour government from 1997 to 2007 under Tony Blair.
Simplified: Before this, he was Chancellor of the Exchequer.