とうりすがりじゃありませんでした
tōri sugarija arimasendeshita

Noun
Desu Copula
no-Adjective

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

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

Past/Perfective
Negative
Polite
Terminal Form