Australian seamer Michael Hogan recorded figures of 6-65 as Glamorgan claimed a 220-run lead on day two of their County Championship Division Two match against Kent at Cardiff.
Glamorgan closed on 237-7 in their second innings, opener Gareth Rees top-scoring with 52.
That was after Daniel Bell-Drummond had provided 78 before Kent were bowled out for 175, giving the visitors a first-innings advantage of 17.
Kent had resumed day two on 102 for five, still trailing by 56 runs with Bell-Drummond reaching his half-century from 111 balls.
But, with the visitors on 136-5, seamer Mike Reed bowled Adam Riley with a full-length delivery.
Hogan grabbed the wicket of Bell-Drummond, lbw, and then two balls later the Australian bowled Mark Davies off his pad.
Charlie Shreck edged behind in the next over to end the innings, before Rees negotiated the only over remaining in the morning session.
In the afternoon Rees went on to complete his half-century as the Welsh county reached 121-3 by tea - a lead of 104.
But Glamorgan did not make the best of starts to the innings, finding themselves 15-2 inside seven overs. Will Bragg departed lbw to Davies, who only two balls later had Murray Goodwin (0) caught behind.
But Rees and Chris Cooke added 67 for the third wicket, helped by Rees despatching off-spinner Riley by straight driving the youngster for four and six.
However, in the next over Riley responded by having Cooke caught at short leg by Bell-Drummond.
Glamorgan reached the 100 mark in the 32nd over before Rees completed a 92-ball fifty shortly before tea.
But he perished straight after the interval, edging Calum Haggett behind. Haggett then trapped Ben Wright, Glamorgan's top scorer in the first innings, lbw with the total on 155.
Riley then had Jim Allenby caught at deep backward square after miscuing a sweep on 29.
Ruaidhri Smith and Mark Wallace guided Glamorgan to 200, but that was followed by Wallace edging Shreck behind.
Smith and Dean Cosker ended the day ensuring Glamorgan would have a lead in excess of 200.