This is the 5450th most frequent Japanese word.
ありがたく
"Gratefully" or "thankfully."
In this sentence, 'ありがたく' is used as an adverb to express gratitude or thankfulness toward the kindness received from a friend.
私は友人からの親切をありがたく受け入れました。
I gratefully accepted the kindness from my friend.
Here, 'ありがたく' indicates the speaker's gratefulness for the value or usefulness of the advice provided by another individual.
彼の助言はありがたく参考にさせてもらいました。
I gratefully utilized his advice as a reference.
In this case, 'ありがたく' demonstrates the speaker's feeling of gratitude for receiving an exceptional opportunity.