"The boys showed big, big character against a really good side. They [Rangers] have been written off, they're getting criticised from every angle. They're a good side with good players and that's a huge result for us.

"I always thought we were a threat in the final third. I knew we'd get a chance again.

"I wasn't sure if we'd get a chance after the penalty but that's why you've got Billy Mckay in your team. He can score out of nothing. If you want to have a successful season, you need a striker like that."

The players have 'huge character'

Hamilton Academical now trail Inverness by a point ahead of Accies' trip to Celtic on Saturday.

"The desire to not get beat, we have that now," added Foran, who's side are unbeaten in three league games. "We set the foundations last week against Hearts [in the 1-1 draw] about working back the park, working for each other better than we have been and we definitely worked for each other tonight.

"We've been bottom of the table for a long time. Other players maybe would've folded. They have huge character, huge bravery between them. We kept it positive all the time and knew the results would come. I knew the amount of quality in the dressing room.

"It gets us off the bottom of the table. Let's stay off the bottom now. Obviously, a few results have to go for us tomorrow but it's all in their hands now."