He was very mean to you for no valid reason... You handled it well and like someone else said... He will be mean to others for no valid reason and then
Grrrrrrrrrrrrrrrrrrrrrrrrr

at that other person for telling "teacher" (incredibly petty and childish!) !!
It really was all about him, kudos GB for seeing that
May the people who drive you in future be kind and compassionate