Bala Town came from behind at Maes Tegid to claim three valuable points to keep their Top Six hopes alive.
Dave Morley scored the opener for the visitors but Kenny Lunt responded before the break. The winner came midway through the second period as Mark Jones struck a priceless winner.
There were two goals in a lengthy injury time at the Deeside Stadium as Connah's Quay and Prestatyn shared the spoils.
Rhys Healey opened the scoring with quarter of an hour played for Nomads before Town struck back with two in three minutes. Firstly, loanee Anthony Stephens equalised and then Andy Parkinson turned the game on its head. Worse was to come before the half hour as Nomads' Danny Forde was sent off.
After the break Chris Rowntree again restored parity before the injury time drama with braces from Healey and Parkinson. Parkinson looked to have won it for Town two minutes into stoppage time but a further ten minutes later, Healey had the last laugh.