Idiom
in hopes of doing somethingin hopes of (doing something)
with the intention of influencing something in the future that you do not control directly.McDougall is cooperating with police in hopes of reducing his sentence.
Usage notes: also used in the form in hopes that something will happen:
The agency sued the farmer in hopes that other growers would obey the government's demands.