かげ さまでした
okagesamadeshita

Noun
Desu Copula

The polite past form of お陰様

1. Thank you for your kindness.; It was all thanks to you.

Past/Perfective
Polite