徇私枉法

xùn sī wǎng fǎ

to bend the law in order to favor one's relatives or associates (idiom)

xùn

variant of 徇[xun4]

personal

wǎng

to twist

old variant of 法[fa3]