The Haas F1 team has been on a wild ride, and the Formula One season hasn't even started yet.

Haas F1 has debuted a new livery after removing the logo of Russian sponsor Uralkali.

Haas F1 has debuted a new livery after removing the logo of Russian sponsor Uralkali. (Mark Thompson/Getty Images)

The only American-run team in the series began the year with Russian sponsor Uralkali on its two cars and Russian driver Nikita Mazepin in one of them.

However, the weekend after Russia invaded Ukraine, Haas stripped its cars of the Uralkali livery, which included the colors of the Russian flag, and last week it terminated the company's contract along with Mazepin's.

RUSSIA INVADES UKRAINE: LIVE UPDATES 

The cars now prominently display the Haas name.

The cars now prominently display the Haas name. (Dan Istitene - Formula 1/Formula 1 via Getty Images)

Looking to get a fresh start with new driver Kevin Magnussen, who previously drove for the team from 2017 through 2020, Haas arrived in Bahrain for the last preseason test with yet another paint scheme on its cars.

The Haas F1 livery has changed twice so far this year.

The Haas F1 livery has changed twice so far this year. (Getty Images)

It's basically the same design, but replaces the Uralkali name with Haas and swaps Uralkali's Russian flag colors for the red and white of the Haas logo.

The latest version of the Haas F1 car has American flags located behind the front wheels.

The latest version of the Haas F1 car has American flags located behind the front wheels. (MAZEN MAHDI/AFP via Getty Images)

The cars also now feature prominent American flags behind the front wheels.

Haas and the rest of the Formula One field will be testing at the Bahrain International Circuit through Saturday ahead of the first race of the year at the same track next weekend.

Nikita Mazepin and his father, Dmitry Mazepin, who owns Uralkali, were both put on the list of individuals facing sanctions by the European Union this week.