Daniil Kvyat has joined Ferrari as a development driver for the 2018 Formula 1 season.
Kvyat was dropped from Scuderia Toro Rosso midway through last season and was already understood to have not been signed for the second Williams entry.
With no other race seats available, he will head to Ferrari instead.
The development role will likely entail simulator work and potentially some test running, although this has not been confirmed.
Kvyat made his debut in F1 in 2014 with STR, and was promoted to sister outfit Red Bull Racing the following year as replacement for Sebastian Vettel.
But having struggled to produce consistent form, and after getting involved in a number of incidents, he was switched back to STR from the 2016 Spanish Grand Prix, with Max Verstappen moving the other way.
Although Kvyat appeared to have regained his confidence at STR, a run of disappointing races last year left Red Bull unconvinced about his potential.
After being replaced by Pierre Gasly for the Malaysian and Japanese Grands Prix, he returned in the United States and scored a point but it was not enough to keep his seat any longer.