The defending champions had looked well set resuming on 170-4 at Trent Bridge, but their progress was soon checked with the early loss of Alex Lees (92) to Harry Gurney.

Jake Ball finished with figures of 4-57 as Nottinghamshire limited the Tykes to a slender advantage of 29, with Plunkett the only other player to pass fifty.

England all-rounder Willey, wicketless on day one of his debut, then trapped Steve Mullaney lbw just four balls into the hosts' second innings.

Hales looked far from his fluent best as he dug in for an obdurate 115-ball knock, which featured five fours, before Patel's well-paced half-century helped Nottinghamshire close 122 runs in front heading in to the final day.