Rotherham United were unlucky to slip to defeat against Premier League Sunderland as young striker Jerry Yates pressed his claim to be part of new boss Alan Stubbs' Championship plans.
The 19-year-old equalised for the Millers just after half-time in this pre-season friendly with a smart turn and finish and, deep into the second half, the home team looked the side most likely to score a winner.
But Charles N'Zogbia fired home from the edge of the area with four minutes remaining to inflict a loss on Rotherham they didn't deserve.
Stubbs' men played some neat football at times in an encouraging performance, although first-half injuries to left-back Joe Mattock and utility man Greg Halford did nothing to help their thin squad.
Rotherham began brightly, with Danny Ward heading wide after a teasing cross from right winger Tom Forde who looked dangerous going forward on his AESSEAL New York Stadium debut.
There was good passing in the Millers' best passages of play, but it was Sunderland who broke the deadlock on the half-hour mark.
Rotherham missed chances to stop the danger and the ball found its way to Fabio Boroni who's angled shot from the right-hand edge of the area squirmed under goalkeeper Lee Camp.
Ward was just over with another header on the stroke of half-time, and the Millers wasted no time in equalising after the break, with Yates producing his moment of sharpness.
There was no place in the Rotherham squad for midfielder Will Vaulks, signed from Falkirk the day before the game and awaiting Scottish FA clearance, while fellow newcomer Jake Forster-Caskey came off the bench to impress.
New Sunderland manager David Moyes watched from the West Stand and was given a rapturous ovation by the 2,979 travelling fans.
Goals: Borini 30, N'Zogbia 86 (Sunderland), Yates 46 (Rotherham).
Rotherham United (4-4-2): Camp; Kelly, Broadfoot, Wood, Mattock (Thorpe 38); Forde, Halford (Forster-Caskey 43), Smallwood (Bailey-King 80), Frecklington (Dawson 71); Ward (Muskwe 88), Yates. Subs not used: Price.
Sunderland AFC (4-5-1): Pickford; J Robson, Kone (E Robson 88), Kaboul (Ledger 80), van Aanholt; Lens (Greenwood 88), Rodwell, Borini (Watmore 59), N'Zogbia, Khazri (Gooch,68); Defoe (Honeyman 77). Subs not used: Mannone, T Robson, Asoro, Stryjek.
Referee: Craig Pawson (South Yorkshire).
Attendance: 6,676 (2,979).