In an honorable manner; "he acted honorably".
With honor; "he was honorably discharged after many years of service".