Need help with sentence :/
This is the sentence:
日本語弁論大会や奨学金やJETプログラムなど学生時代にその成果をあげる学生はもちろんのことであるが、長い間経って、昔の学生にばったり会い、その活躍ぶりを知ることは、特に教師冥利に尽きる経験である。
I'm having a problem understanding the use of "に" here "日本語弁論大会や奨学金やJETプログラムなど学生時代に".
And I do not understand the use of "ちろんのことである" in this sentence
Help is glady appreciated
(JET program is a Japanese exchange teaching program)