とうりすがりではありませんでした
tōri sugaridewārimasendeshita

Noun
Desu Copula
no-Adjective

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

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

Past/Perfective
Negative
Polite
Formal Register