The New York Rangers were the away team during Sunday’s Stadium Series game at New York's Yankee Stadium.

Despite being the hometown team in an outdoor clash against the New Jersey Devils, the Blueshirts wore away white in their eventual 7-3 win.

According to the New York Times, the “visiting” Rangers were given the designation to avoid paying as much as $17.4 million in taxes.

The Rangers will also be the road team for Wednesday’s game against the New York Islanders, who actually play in Uniondale, N.Y.

Since 1982, a special exemption has allowed Madison Square Garden -- the Rangers and New York Knicks are part of the MSG Company -- to avoid paying property taxes.

As the Times points out: “That 1982 agreement stipulates that if the Rangers or the Knicks play a home game outside the Garden, the exemption is forfeited.”

The NHL has also benefited from making the hometown Rangers the away club at Yankee Stadium.

The league reimburses home teams for playing away from their home arenas, according to the Times.

As the Rangers make considerably more than both the Islanders and Devils during any given home date, the league’s reimbursement total is lower.