Caretaker boss Steve Lovell guided Gillingham to a precious League One success as they triumphed 1-0 at Peterborough.
Lovell stepped into the hotseat following the departure of interim chief Peter Taylor 48 hours ahead of the trip to the ABAX Stadium.
And he masterminded just a second league win of the campaign which was secured by captain Lee Martin's long-range strike 10 minutes before the break.
Martin claimed only the seventh goal scored by the Gills in League One this term when guiding a 30-yard curler in off the far post.
Only two terrific saves in as many minutes from Posh goalkeeper Jonathan Bond denied Josh Parker and Elliott List further goals for the visitors before the break.
The closest the hosts came to an equaliser was a free-kick from leading scorer Jack Marriott which crashed against the crossbar with a quarter-of-an-hour to go.
Another Marcus Maddison set-piece almost took Gillingham keeper Tomas Holy by surprise, but Posh were well below par as they slipped to a third-successive league defeat which was greeted by a chorus of jeers.