Glamorgan 508 for 9 dec beat Leicestershire 203 and 268 by an innings and 37 runs
Spinners Dean Cosker and Andrew Salter shared seven wickets as Glamorgan sealed their second Division Two victory of the season, beating Leicestershire by an innings and 37 runs at Swansea.
Cosker finished with figures of 4 for 88 and Salter 3 for 66 - giving him match figures of 5 for 100 on his Championship debut - as Leicestershire were bowled out for 268.
Bottom club Leicestershire had been staring down the barrel of defeat after being skittled for 203 in their first innings and then having to watch Glamorgan compile 508 for 9 declared. Glamorgan took a maximum 24 points to Leicestershire's three.
Glamorgan made a positive start by removing Shiv Thakor with the third ball of the day after Leicestershire resumed 134 for 2, still 171 behind. Thakor edged Cosker to wicketkeeper Mark Wallace before the slow left-armer struck twice more to have Leicestershire in trouble at 178 for 5.
First Matthew Boyce edged to Jim Allenby at slip before Cosker grabbed the prize wicket of Ned Eckersley for 67 after more than three hours in the middle. Seamer Michael Hogan broke through the defences of Tom Wells before Salter struck to have Ben Raine snaffled at slip by Allenby.
Leicestershire were further reduced to 213 for 8 when Ollie Freckingham was bowled by Cosker eight minutes before lunch. That wicket heralded a delay in the interval and immediately Leicestershire found themselves 218 for 9 after James Sykes edged Salter to second slip.
Josh Cobb, with his Championship best of the season, showed some late defiance, hitting Salter and Cosker for a six apiece as the 10th wicket put on 50. But the match came to an end when last man Alex Wyatt, after a career-best 28, edged Graham Wagg to Hogan at second slip.
Leics vs Glamorgan
County Championship Division Two
England Domestic Season