Welsh Premier leaders Llanelli suffered a third defeat in a week by losing to Porthmadog in the second round of the FAW Premier Cup. The Reds were undone by Ryan Davies' last-minute goal at Y Traeth.
Porthmadog had taken a 12th-minute lead when Jason Sadler benefited from Wyn Thomas' mistake to score.
Thomas atoned for his error with an 80th-minute equaliser, but Davies hit back to send Porthmadog through to the quarter-finals.
Porthmadog: Richard Harvey, J.G. Jones, Mike Foster, Rhys Roberts, Ryan Davies, Paul Friel, Gareth Parry, Gareth Carpenter (Chris Evans 80), Richard Hughes (Danny Hughes 61), Jason Sadler, Les Davies.
Subs Not Used: Kevin Roberts, Ywain Gwynedd, Mark Cook.
Goals: Jason Sadler 12, Ryan Davies 90.
Llanelli: Duncan Roberts, Efran Reyero Fernandez, Gary Lloyd (Nick Harry 57), Neil Thomas (James Thomas 74), Stuart Jones, David Wyn Thomas, Lee Phillips, Antonio Corbisiero, Rhys Griffiths, Jacob Cortez Mingorange, Craig Williams.
Subs Not Used: Dale Richard Griffiths, Nicholas Sinfield.
Goals: Wyn Thomas 80.
Referee: Kevin Parry (Llanfair PG).