Nathan Trott and his West Ham United Under-23 teammates traveled to the King Power Stadium to take on Leicester City as they bid to end their winless Premier League 2 Division 1 run.
Leicester City were dealt an early blow when Vontae Daley-Campbell was shown a straight red card in the 10th minute for a late challenge on Oladapo Afolayan.
The 10 men rallied and created the first real chance of the game, via Demarai Gray's corner, which after being headed by Shane Flynn, cannoned off GonÁalo Cardoso and into the arms of Trott.
At the other end, meanwhile, Emmanuel Longelo's low drive was flicked towards goal by Afolayan, who just missed the post.
It would be Gray who made the breakthrough on 22 minutes, slotting the ball beyond Trott after great work from Khanya Leshabela to drive through the middle and feed the winger, who used his pace to get beyond the West Ham backline.
Leicester City continued to be solid in the second half, until after the hour mark, when Daniel Chesters raced into the box and was brought down by the onrushing Stolarczyk.
The referee had no hesitation in pointing to the spot and Afolayan made no mistake from the resulting penalty, sending City's 'keeper the wrong way to equalize on 66 minutes.
But Gray produced a stunning finish to snatch victory for Leicester City, once again collecting the ball from Leshabela - scoring his second assist of the evening, one stepover later, he was through on goal and buried it emphatically.