Hearts marked their return to the Ladbrokes Premiership with a thrilling 4-3 win over St Johnstone in front of 16,334 fans at Tynecastle on Sunday.
Juanma Delgado scored within four minutes of his debut and Jamie Walker doubled the lead early in the second half after Osman Sow's spot-kick had been saved by Alan Mannus.
Simon Lappin pulled one back soon after but Callum Paterson made it 3-1, only for summer signings John Sutton and Graham Cummins to haul Saints level.
Sam Nicholson hit the winner for Robbie Neilson's men 10 minutes from the end of a remarkable match in the capital.