Five-year ban for man who starved pet dog