Murray Goodwin notched his fourth century of the season as Glamorgan batted themselves into a position of strength on day two of their LV= County Championship Division Two match against Leicestershire at Swansea.
The 40-year-old, who reached 1,000 first-class runs for the season in the process of scoring 178, helped Glamorgan to 445-7 by the close, a first innings lead of 242.
Resuming on 36-3 in sunny conditions, Goodwin and Chris Cooke made decent progress in the first hour before the latter edged an attempted cut behind off Ben Raine for 22.
But the runs kept on coming either side of lunch through Jim Allenby (76) - who required 59 runs to become Glamorgan's first batsman to 1,000 runs in first-class cricket this season - and Goodwin, who went to his 50 with his eighth boundary from 135 balls.
After the interval Allenby completed his half-century from 77 balls and then reached 1,000 runs for the season as the 200 came up, but after giving Glamorgan the lead the fifth wicket pair's contribution of 140 in 35 overs ended when Allenby edged behind.
Goodwin's vigil continued as he went to three figures - the 71st of his career - from 218 balls with 14 fours as Glamorgan reached 307-5 at tea, an overall lead of 104.
Despite Leicestershire taking the second new ball the Glamorgan runs kept on coming as Goodwin and Mark Wallace put on 189 in 39.2 overs before both batsmen were dismissed in the space of five balls.
Wallace edged Raine behind, going for 86 from 113 balls, before Goodwin was bowled attempting to sweep James Sykes. The former Sussex man went for 178 from 316 balls with 29 fours in an innings that lasted exactly 400 minutes.