It will set Comcast back a reported $4 billion, but the parent company of NBC managed to keep the Olympics on the network until 2020. That means the Peacock will air the 2014 Winter Games in Sochi, Russia, the 2016 Summer Games in Rio de Janeiro, and the next two Olympics after that, according to The Associated Press.

ESPN also bid for the 2014 and 2016 Games, as did Fox.

Eight years ago, NBC said yes to forking over $2 billion to air last year’s Winter Games in Vancouver and next year’s Summer Games in London.