りではありませんでした
setoridewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 背取り

1. Was not a pickpocket.; Was not betraying (someone's trust).

Past/Perfective
Negative
Polite
Formal Register