NEW YORK (AP) — Online shopping giant Amazon is buying MGM, the movie and TV studio behind James Bond, “Legally Blonde” and “Shark Tank,” with the hopes of filling its video streaming service with more stuff to watch.

Get our free mobile app

Amazon is paying $8.45 billion for MGM, making it the company’s second-largest acquisition after buying grocer Whole Foods for nearly $14 billion in 2017.

The deal is the latest in the media industry that’s aimed at boosting streaming services to compete against Netflix and Disney+.

AT&T and Discovery announced last week that they would combine media companies, creating a powerhouse that includes HGTV, CNN, Food Network and HBO.

LOOK: The WORST Train Wreck in Wyoming History