A council van driver who exposed himself to a woman motorist as she was overtaking him has been ordered to carry out 100 hours of unpaid work.
Paul Davies, 27, from Rhayader, claimed he had been taking a photograph of his genitals to send to his girlfriend.
Davies, who has resigned from his Powys council job, was told to pay his victim £250 compensation and £200 court costs.
He denied intentionally exposing his genitals, but was convicted at a hearing last month.
Magistrates in Brecon were then told that Davies was driving the van on the A4067, between Ystradgynlais and Sennybridge, when the incident happened on 22 May.
David Johns, defending, told the hearing that his client had lost his job as a result.
Mr Johns added that Davies realised that "considerable upset and distress" was caused to the woman.
"There is considerable notoriety attached to this within the locality where he lives," said Mr Johns.
"He does apologise to the person concerned in this matter. He now sees the error of his ways in that regard.
"He didn't think of the consequences of his actions on that day."
Chair of the magistrates Paul Bevan said he took into account the harm suffered to Davies' reputation and the apology given when sentencing him.
After the hearing, a Powys Council spokesman said Davies had resigned from his post.