The Metropolitan Police said it's a "great disappointment" that a senior counter-terrorism detective "abused her position" by offering to leak information to the News of The World on the phone-hacking inquiry.
An MPS spokesperson said:
There is no place for corrupt officers or staff in the MPS and we hope this prosecution demonstrates that leaking - or in this case trying to sell - confidential information to journalists for personal gain, will not be tolerated.
There may be occasions when putting certain information into the public domain - so-called whistle-blowing - can be justified. This was not one of them.
She [DCI April Casburn] betrayed the service and let down her colleagues - the hard-working honest police officers who make up the vast majority of the MPS.
The MPS highlighted this is the first prosecution to result from the phone-hacking and linked inquiries.
More top news
Thousands of US-backed troops in Syria are launching an attack to capture a crucial swathe of northern Syria from Islamic State.
A father who forced his pregnant 14-year-old daughter to marry a 24-year-old family friend who raped her has been jailed.
DPRK Today, one of the state's mouthpieces, described billionaire Trump as a "wise politician" and the right choice for US voters.