Authority, Reliance, Mercy and Knowledge: Comprehension

What does “مُعَلِّمًا” mean in “I was sent as a teacher”?

Self-Restraint, Reliance on Allah, Compassion, and the Virtue of Knowledge (Accounts 33–36)