only 40 seconds into the second half, quinn almost restored st johnstone's 3-goal advantage but his attempt on goal rebounded off the goalpost despite beating the goalkeeper. in the 59th minute, dunfermline defender danny murphy was the first player to be cautioned by the referee, receiving a yellow card for bringing quinn to the ground whilst tackling for the ball. in the 64th minute, dunfermline made their second substitution; michael mcglinchey was replaced by jim hamilton and he had an almost immediate impact on the match, earning a penalty kick after being pushed by anderson. referee smith initially awarded a free kick on the edge of the penalty area but changed his mind amid complaints from dunfermline players and awarded a penalty kick instead. stephen glass took the penalty kick, hitting the ball past goalkeeper main into the top corner of the goal to make the score 3–2. dunfermline continued to pressure for an equalising goal and almost did so when st johnstone defender goran stanić nearly scored an own goal after mis-hitting the ball but it rebounded off the crossbar. despite dunfermline's late improvement in form, st johnstone held on to win the match and claim the first national cup trophy in their 123-year existence.