Edinburgh football club Hearts feared for its survival last week after being issued with a winding-up order from HMRC for a tax bill of over £400,000. (Since this article was first written [12/11] we have updated with further information)
This weekend's match against St. Mirren could have been the team's last unless it received financial support from fans, club bosses said.
However, fans and HMRC have both responded to the club's "emergency backing" plea by donating money and giving it extra time to get its affairs in order.
HMRC's agreement with Hearts allows the club to repay the debt via two staged payments, with a final settlement date of December.
On their website, Hearts FC said they had provided HMRC with an assurance that tax would be paid on time in future.