Out of necessity and against one's will
Мне поневоле пришло́сь солга́ть.
I was forced to lie.
WiktionaryPONSbab.laReverso