What is the meaning of Self-righteously?

In a self-righteous manner.

Source: wiktionary.org