Answer:
Its an idiom.
Explanation:
It means he did whatever he could to get what he wanted.
Answer: A.