かえりがけでした
kaerigakedeshita

Noun
Desu Copula

The polite past form of 帰りがけ

1. Was on the way back.; Was returning.

Past/Perfective
Polite