A restraining order was imposed to prevent a man from contacting his former partner.
Leonard Frankish of Princess Drive in Grantham was told the charge of harassment he faced was being withdrawn by the prosecution.
However, he agreed to the imposition of a two-year restraining order which prevents Frankish contacting the complainant, going to her address in Grantham or going to her place of work without an appointment.
The court heard that the restraining order followed the collapse of a 25-year relationship which saw the couple raise four children.