A federal judge on Thursday sentenced David H. Petraeus, the highest-profile general from the wars in Iraq and Afghanistan, to probation for disclosing classified information. He was also fined $100,000, which was $60,000 more than the government had recommended.
The sentencing was the end of a leak investigation that embarrassed Mr. Petraeus and created bitter disputes inside the Justice Department about whether he was receiving too much leniency from Attorney General Eric H. Holder Jr.
F.B.I. officials and some prosecutors had contended that Mr. Petraeus should receive prison time for providing highly classified journals to a woman with whom he had an affair and who wrote his biography when he was the director of the C.I.A.
But Mr. Holder sided with Mr. Petraeus, ultimately deciding to agree to recommend that he be spared prison time.