Monty Panesar completed match figures of 11-168 as Essex eased to their fourth LV= County Championship Division Two win of the season, beating Glamorgan by 63 runs on the final morning at Swansea.
The victory keeps up Essex's hopes of promotion, while it was Glamorgan's fourth straight defeat.
Glamorgan had required 111 to win with only two wickets remaining when they resumed on 237 for eight.
It took Essex only 14 balls to break the ninth-wicket partnership when Graham Wagg became Panesar's sixth victim of the innings.
WICKET Monty Panesar has Graham Wagg picked up by Nick Browne at bat/pad. He goes for 64 and Glamorgan 241 for 9. #GlavEss
— Essex Cricket (@EssexCricket) August 18, 2014
Wagg and Dean Cosker had ensured the match went into the fourth day after surviving the final 14 overs yesterday after Essex had claimed the extra half hour.
But in the third over of the morning Wagg fell for 64 to a bat-and-pad catch to Nick Browne at short-leg.
Cosker and Michael Hogan also frustrated Essex for nine overs, adding 43.
But after 35 minutes of play Hogan gave Tom Westley a return catch to confirm Essex's victory.
Essex took an important 21 points from the match to Glamorgan's three, which temporarily lifted the visitors to second in the table.