Meaning of the word rightfully in English

What does rightfully mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

rightfully

US /ˈraɪt.fəl.i/
UK /ˈraɪt.fəl.i/

Adverb

in a way that is morally or legally correct; justly

Example:
The inheritance rightfully belongs to her.
He was rightfully angry about the unfair treatment.