A polite way to express thanks, used to thank someone for something done in the past.
今日は手伝ってくれて、本当にありがとうございました。
Thank you very much for helping me today.
セミナーにご参加いただき、ありがとうございました。
Thank you for attending the seminar.
先日は素敵なプレゼントをくださり、ありがとうございました。
Thank you for the lovely gift the other day.