But the biggest challenge will be to reduce a near 145,000-strong force without compromising on security gains after a deeply unpopular war that has claimed tens of thousands of Iraqi lives and killed more than 4,190 US personnel .