Who's liberal political ideas influenced the Whigs