Local man ends 40-year military career