What is the meaning of the word "honorably"?

Definitions:

  1. in an honorable manner copy to clipboard adverb
    • I acted honorably and turned the wallet full of cash into the police. copy to clipboard
  2. with honor copy to clipboard adverb
    • I was honorably discharged after many years of service. copy to clipboard

Synonyms: