Sussex took two crucial wickets in the final hour of the second day to strengthen their position in the crucial Specsavers County Championship Division Two match against Middlesex at Hove.

Trailing by 234, Middlesex had reached 105-2 when they lost Dawid Malan (19) and Paul Stirling for a second-ball duck in successive overs.

Their hopes of setting Sussex a testing target on a good pitch now largely rest with opener Sam Robson who reached a 108-ball half-century and was 61 not out at stumps with his side 145-4, still 89 behind.

Robson and Nick Gubbins had rebuilt after Steve Eskinazi was bowled by Ollie Robinson off the third ball of the innings, adding 68 either side of tea. But Jared Warner, the Yorkshire seamer who has joined Sussex on loan for the rest of the season, had Gubbins (28) well taken at second slip by Harry Finch before Sussex struck twice in the space of six balls.

Dawid Malan played on to give Sussex debutant Elliott Hooper, a 23-year-old left-arm spinner from Hastings making his first-class debut, a memorable first wicket.

Robinson then pegged back Paul Stirling's off stump for a second-ball duck to take his 50th Championship scalp and complete his second ten-wicket haul of the season against Middlesex.

Earlier, Will Beer made 77 as Sussex's last three wickets put on 151 to take them to 309.

Middlesex had fought back during the first hour as Sussex, who had resumed on 128-3, lost four wickets for 23 - three of them to Toby Roland-Jones who now has 24 victims in his last five Championship innings after finishing with 5-70.

The seamer picked up Luke Wells (62) and Alex Carey (56) after they shared 125 for the fourth wicket. Wells clipped to mid-wicket and Carey was taken at slip driving loosely before David Wiese was caught behind for a duck off a ball which rose sharply to give Roland-Jones his third wicket in four overs.

Tim Murtagh picked up Ben Brown (3) caught behind off a top-edged slash but from 151-7, Robinson and Beer counter-attacked superbly.

Robinson contributed 37 to an eighth-wicket stand of 88 after being caught on six off a Roland-Jones no ball, while Hooper scored 20 as 41 were added for the ninth wicket.

To add to Middlesex's frustrations, Steve Finn had to go off for treatment after being hit on the face fielding a drive by Beer, who was last out after hitting 13 fours and a six from 110 balls faced.

Robinson, who took 8-34 in the first innings, then struck with his third ball when Eskinazi was bowled through the gate for four. Robson and Gubbins rebuilt before Sussex landed those late blows.

Roland Jones said: "It's nice at this stage of the season to feel really fit and getting wickets but obviously it means more if the team situation is better.

"I thought we showed good intent and we got some wickets. But a couple of little partnerships by Sussex took the momentum that as had away a bit.

"We just need to apply ourselves and bat as well as we can. There's still

something in the wicket and Sam Robson and John Simpson did well at the end there and hopefully they can build on it."