Obama cites end of war as one of his major accomplishments