とうりがかりではありませんでした
tōrigakaridewārimasendeshita

Noun
Desu Copula
no-Adjective

The polite, past negative form of 通りがかり

1. Was not passing by.; Was not going by.; Was not just passing through.

Past/Perfective
Negative
Polite
Formal Register