Williams ended a long and frustrating spell with injury to score his first goal for the Tykes in the 95th minute at Cardiff City Stadium.

The Welsh side drew level on 89 minutes courtesy of Anthony Pilkington and looked on track for a share of the spoils until the Aussie popped up.

Fellow substitute Marley Watkins' cut-back to Williams who scored off his left boot to give the Championship side their 9th win of the campaign.

Williams, who only entered the pitch in the 90th minute, told the club site about his relief at scoring after his injury troubles: “It’s probably a whole year piled into one minute there! It was good for me, obviously a lot of relief and a lot of relief for the boys who worked so hard for that one.

"For me to come on and finish it off for us was amazing. They (the players) are the ones that worked hard and I came on and tapped the ball in, so the credit goes to me but everyone has done so well. We’re just happy to get the three points.”

“There’s been a lot of times where I’ve been sat back in the stands watching the game, and now it’s nice to be on and to be the one to score the winner is obviously fantastic.”

Coach Paul Heckingbottom saved special praise for his injury-plagued winger.

“It’s great for him…That’s testament to how hard he’s worked, both mentally and physically. I’m over the moon that it was he who grabbed the winner and that reflected in the way the lads celebrated with him afterwards."