Final answer:
The Seljuk Turks invaded Afghanistan and conquered Baghdad while maintaining the Abbasid ruler as a figurehead.
Step-by-step explanation:
The invading group that surged out of Afghanistan and conquered Baghdad in the mid-1000s but kept the Abbasid ruler as a figurehead ruler were the Seljuk Turks.
Learn more about Seljuk Turks invading Afghanistan and conquering Baghdad