ぎわでした
samegiwadeshita

Noun
Desu Copula

The polite past form of 覚め際

1. Was waking up.; Was just about to wake.

Past/Perfective
Polite