Barcelona, Spain, 26 April 2017 | AAP

Bernard Tomic’s reward for his first win in more than three months is a clash with world No.1 Andy Murray.

Tomic broke a run of five consecutive first-round losses with a three-set win over German journeyman Dustin Brown at the Barcelona Open on Tuesday.

On his least preferred surface of clay, Tomic downed another player who prefers the faster courts in world No.75 Brown, 7-5 4-6 6-2.

It was Tomic’s first win since the Australian Open in January; since then the former world No.17 has slipped down to No.41 in the rankings.

He’ll now face Murray, who had a bye to move directly into the second round.

That will prove a tough ask for the 24 year-old who has yet to take a set off the Brit in their four meetings on tour.