A determined rearguard action by Paul Nixon and Jigar Naik earned Leicestershire a draw against Glamorgan on the final day at Swansea.
Nixon struck an unbeaten half-century while night watchman Naik chipped in with 35 during his 192 ball, three hour stand to take his side to safety.
Promotion-chasing Glamorgan had gone into the final day hopeful of sealing their sixth championship win of the season.
But, despite early optimism when James Harris bowled Jacques du Toit with the first ball of the morning, the Leicestershire batsmen dug in to deny the hosts.
Leicestershire hardly played a shot in anger as the pitch failed to produce the same prodigious turn it had on the third day, adding just 63 runs in 33 overs.
James Taylor fell to Robert Croft soon after bringing up Leicestershire's 100 but Naik and Nixon held Glamorgan off for another 19 overs until Naik's mammoth vigil came to an end when he was bowled by Jamie Dalrymple.
James Harris removed Tom New caught behind to leave Leicestershire 176 for six, a lead of 133 but Nixon stood firm and at 4.50pm the players shook hands to ensure the draw and seven points each.
Mark Cosgrove helped put Glamorgan in a strong position going into the final day against Leicestershire with his third century of the season.
The Australian left hander struck 117 to help the Welsh county a total of 290 all out and a first-innings lead of 43.
Leicestershire's South African left-arm spinner Claude Henderson was the pick of the bowlers, recording figures of 5-72.
Glamorgan resumed on 45-0 in positive fashion but lost Gareth Rees with the score on 74 when he edged Nadeem Malik to Matthew Boyce at first slip.
The home side suffered further setbacks when Tom Maynard (19) was bowled by Jigar Naik and then Ben Wright fell leg before to Henderson to reduce them to 153-3.
Cosgrove's innings came to an end when he was stumped by Tom New off Henderson after three hours at the crease, which included 111 balls and 15 fours.
Jamie Dalrymple and Jim Allenby put on a useful 54 in 17 overs but Glamorgan then proceeded to lose their last six wickets for only 60 runs.
Leicestershire had reached 41-2 at stumps, still two runs behind after losing Boyce with just nine runs on the board before Will Jefferson was trapped lbw by Dean Cosker.
Just 28.5 overs were possible on a rain-hit second day at St Helen's, but it was enough for Robert Croft to write his name in Glamorgan folklore.
The 40-year-old spinner became the first Glamorgan player to make 10,000 first class runs and take 1,000 wickets when he removed Wayne White shortly after the resumption at 1.40pm.
Leicestershire, who had lost three late wickets on Wednesday after a promising start, were bowled out for 247 with the last eight wickets adding just 46 runs.
Resuming on 225 for five after the last five wickets fell for 22 runs 18.2 overs as both Croft and Dean Cosker finished with three wickets.
Rain stopped play once again with Leicestershire wobbling on 244 for seven but when it got under way again at 5pm the remaining three wickets fell inside 4.3 overs.
They had managed a run rate of only 2.1 an over but that was put in to its full perspective as Glamorgan raced to 14 from the first two overs and 40 from the opening 10, with openers Mark Cosgrove and Gareth Rees looking for quick runs.
Jacques du Toit and James Taylor both hit half-centuries for Leicestershire before the Glamorgan attack hit back late on the opening day of their LV County Champion Division Two clash.
The duo were able to build on a solid foundation laid by openers Matt Boyce and Will Jefferson, putting on 109 for the third wicket as the Foxes passed 200 with only two wickets down.
But the hosts had kept the run-rate below 2.5 and their persistence paid off when both fell in the final session, while Paul Nixon also went for a 20-ball duck.
Jefferson (27) and Boyce added 57 for the first wicket before ex-Foxes seamer James Allenby nipped out the former, Mark Cosgrave taking a fine left-handed catch at first slip.
Left-hander Boyce moved on to 38 before he became the first of two wickets to fall to veteran spinner Robert Croft, Mark Wallace taking a smart catch with the gloves.
It took Croft on to 998 first-class wickets but after an economical start Taylor planted him over long-on for six.
Du Toit reached his 50 off 126 balls before tea while Taylor needed two more balls to make his half-century shortly afterwards, but Croft broke the partnership when he took the second new ball.
The South African was caught behind attempting to cut, taking the 40-year-old bowler to within one of a famous landmark, while James Harris struck at the other end when Nixon was caught at second slip.
Two overs later Dean Cosker trapped Taylor lbw to leave Glamorgan in the driving seat.