He decided to resign _______ principle rather than compromise his integrity.
Correct: A
The correct idiomatic phrase is 'on principle', which means based on a moral rule or belief. The other prepositions do not form the correct idiom in this context.