Meaning
to swear an oath (of office)
to make a vow
Examples
騎士宣誓效忠於國王。
The knight swore an oath of allegiance to the king.
The knight swears an oath of allegiance to the King.