Bradley Dack's deflected volley clinched Gillingham back-to-back home league victories for the first time since March as they overcame Oldham 3-2.
On-loan Gills striker John Marquis put the hosts in front with a low seventh-minute shot after being played through by Cody McDonald.
Marquis then took advantage of a mistake by Latics defender James Wilson to double the home side's advantage with an acute finish.
But Oldham captain Liam Kelly hauled his side back into the game. Oldham defender Connor Brown...