かかわりではありませんでした
kakawaridewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 関わり

1. Was not involved.; Had no connection.; Was not related.

Past/Perfective
Negative
Polite
Formal Register