A police officer who admitted snooping through the force computer and obtaining personal data about people has been fined £4,800.
Pc Adrian Merron, 46, was due to stand trial on a total of 58 charges.
But the Lothian and Borders officer admitted 10 charges and the Crown accepted not guilty pleas to the rest.
Six of the charges were viewing records about crimes of public indecency. Merron is still suspended from the force while inquiries are carried out.
Read more on BBC.