Honda MotoGP rider Dani Pedrosa will join KTM's test team in 2019, Autosport has learned.
Pedrosa, who will be replaced by Jorge Lorenzo in the factory Honda line-up next year, announced his retirement from full-time MotoGP competition in July.
Pedrosa spent his whole grand prix racing career with Honda and the manufacturer said it was open to keeping him on the books in a test role.
But he was also being courted by KTM, whose MotoGP team is headed by his former long-time crew chief Mike Leitner.
It is understood that the Austrian manufacturer's interest in him, coupled with the opportunity to continue collaboration with the team's title sponsor Red Bull, ultimately convinced Pedrosa to sign on.
Several members of the KTM test team are already informed of his impending arrival.
KTM's regular test rider Mika Kallio has been out injured - with Randy de Puniet replacing him for the rest of the year - and will now be expected to work alongside Pedrosa in a two-rider test team.
Unlike Ducati tester Michele Pirro or Bradley Smith, recently announced as the new addition to Aprilia's test team, Pedrosa is expected to forgo any wildcard appearances and focus on developing the RC16 in testing.
Pedrosa's final season as a MotoGP rider is on course to end up as his worst in the championship, as he sits 11th in the standings and is yet to earn a podium finish.
He confirmed at Misano that he is no longer accompanied by rider coach Sete Gibernau during race weekends, explaining that it is due to his impending retirement and Gibernau having a family.
Pedrosa has another six races to avoid his first-ever winless season in the premier class.
"I still need a better [bike] setting, to find my good corner speed - that's pretty much what I'm looking for every weekend," he said.
"It seems like we're not able to find the right balance that I need just to make the riding more effective.
"For me it doesn't matter the track [I'm riding at] at this moment. The thing is in the setting with the bike."
Autosport has produced a standalone special magazine to celebrate our 70th birthday. All current print subscribers will receive a copy for free. To order your copy of the 196-page Autosport 70th Anniversary issue, please go to: autosport.com/autosport70th