Ballance and Rashid rescue Yorkshire
Gary Ballance and Adil Rashid both struck faultless centuries and featured in a record-breaking partnership to get Yorkshire out of trouble on the first day of the LV= County Championship Division One match with Somerset at Headingley.
With England selectors Geoff Miller and James Whitaker in attendance, Ballance made 107, while Rashid was unbeaten on 120 at the close with Yorkshire 332 for five.
The pair's stand of 207 was Yorkshire's highest for the fifth wicket in first-class matches on the Test ground.
Winning the toss and deciding to bat, Yorkshire soon found themselves 17 for two as Peter Trego quickly accounted for both openers.
Adam Lyth got an edge to the fourth ball of the match for wicketkeeper Jos Buttler to take an excellent one-handed catch diving low to his left and the same combination got rid of Joe Sayers when he could not avoid contact with one which seamed away from him.
There was sufficient bounce in the pitch for Somerset's pacemen to be quite a handful and Phil Jaques would have become a third victim for Trego if Marcus Trescothick had not put down a chance at second slip when the Australian was on 22.
Jaques improved the situation with three consecutive leg-side boundaries off Jamie Overton but Yorkshire's recovery was halted in consecutive overs as they dipped to 75 for four. Alfonso Thomas switched to the Kirkstall Lane End and home skipper Andrew Gale edged his fourth ball for Buttler to hold on to his third catch.
Former Yorkshire fast bowler Steve Kirby was the next to strike, Trescothick atoning for his earlier lapse by stooping to hold a low catch to send back Jaques for 49 from 76 balls - a knock which contained eight fours.
Yorkshire were in a perilous position when Rashid joined Ballance, who had yet to get off the mark, and there was still plenty of hard work ahead of them with the home side 84 for four at lunch.
But the fifth-wicket pair assumed complete control during the afternoon session to get Yorkshire out of their early difficulties with some free-flowing strokes all around the wicket.
Ballance moved to his third half-century of the season off 104 balls with seven fours and the century stand arrived soon afterwards.
Shortly after tea, which came at 194 for four, the wristy Rashid whipped Alfonso Thomas through midwicket for his eighth boundary to go to his 50 from 117 balls and he dashed a single off the next ball to take Yorkshire to 200 for four and their first batting point.
Both batsmen played some deceptively powerful shots on a pitch which had lost much of its early bounce and movement and they were still together when Somerset took the new ball at 254 for four in 81 overs.
It could not prevent a record fifth-wicket stand for the home side at Headingley, overtaking the 196 by Roy Kilner and George Hirst against Gloucestershire in 1919. It was also Yorkshire's highest for the fifth wicket against Somerset, beating the 157 put together by Jonny Bairstow and Ballance at Taunton two years ago.
Ballance cover-drove Kirby to go to his century from 187 balls with 12 fours but, with the stand worth 207 in 62 overs, then departed lbw to a full-pitch delivery from the same bowler.
Although Rashid had scored at a slightly slower rate than Ballance, he had matched him with the quality of his strokeplay and a slash to the boundary off Kirby brought him his first century in four years, off 189 balls with 17 fours.
Hodd proved a more than capable partner for Rashid and their stand was worth exactly 50 at the close, Rashid's 120 coming off 209 balls and containing 20 fours.