Question about the Ranked PVP Rewards

What counts towards the End of the season rewards in Ranked Arena, the rank you have at the end of the season or the highest rank you achieved ?

The former