つぎでした
tsugideshita

Noun
Desu Copula
no-Adjective

The polite past form of

1. Was next.; It was my turn.

Past/Perfective
Polite