I was doing some N4 practice questions and came across this sentence

先生に すっかり ごちそうになって おみやげ まで いただいてしまいました。

I'm not sure what まで is supposed to mean in this context?

My general understanding of the sentence's meaning is 'I was treated very well
by my teacher and I received some omiyage from them' but I can't see how まで
plays into all this.

If anyone knows if this is a different usage of まで that I haven't learnt yet
that would be great!
CC BY-SA 4.0
2018-07-26T04:54:31.287
60411
2018-07-26T06:41:27.920
2018-07-26T05:21:40.653
9831
30756
question
word-usage particle-まで
Unsure about this usage of the word まで