A village pub near Boston installed a defibrillator after raising £1,800 to purchase the lifesaving unit.
The defibrillator is at The Anchor Inn in Friskney and can be operated by anyone in the event of an emergency.
Landlady Anthea Henderson said that conversations regarding a defibrillator began in June and “within an hour, things had started to happen”, with a race night suggested as a possible fundraiser.
Maria Shinn and Grant Wadge, from County Care specialist support provider, printed flyers to advertise the event, with Martin Moston volunteering to take part.
The race involved hobby horses, with dice being thrown so the horses could move forward on patio squares, with people betting on the result.
Camelot Crafts and DectoSafe, both in Friskney, T T Motorsport in Benington, Silver Cloud Data and Lowe Brothers, a business in Essex, all raised money by sponsoring horses in the race.
Anthea said: “The horse race raised more than £650 and has enabled us to install a defibrillator at the front of the pub.”
Anthea said she could not thank businesses enough and praised everyone who supported the race.
“Everything went so well, it was so quick and funds were raised quickly,” she said. “It was an incredible response.”
The idea came about due to Friskney remote location, with emergency services sometimes struggling to find it, said Anthea.
Physio Control UK supplied the unit and East Midlands Ambulance Service helped oversee the purchase.
In November, a disco and karaoke night hopes to raise more money to help fund a second defibrillator for the village.