Original: Shaftesbury, as a founder of the Whig movement, exerted great influence on Locke's political ideas.
Simplified: Shaftesbury, as a member of the Whig movement, was a big influence on Locke's political ideas.