It’s been a very good year for Warner Bros. at the box office, as the studio crossed the $2 billion mark at the domestic box office on Sunday. It’s only the second time in studio history that WB has hit this mark, and comes just days after the studio hit $5 billion worldwide.

Though the studio’s latest film, “Justice League,” hasn’t performed as well as analysts hoped with $212 million domestic through four weekends, WB has had plenty of other big successes this year, most notably “Wonder Woman,” which became the movie of the summer with $412.5 million. WB also had the big surprise of the year with “It,” which became the highest grossing horror movie and highest grossing September release of all time with $327.3 million.

Also Read: Warner Bros. Crosses $5 Billion at Global Box Office

Other films that have performed well for WB are Oscar contender “Dunkirk” ($188 million), “The Lego Batman Movie” ($175.7 million), “Kong: Skull Island” ($168 million) and “Annabelle: Creation” ($102 million). That gives WB seven films that have grossed more than $100 million, the most of any studio, as well as an industry-best eight No. 1 opening weekends for 2017.

Warner Bros. is currently first on the domestic charts with 20 percent market share, though Disney will overtake them once “Star Wars: The Last Jedi” is released. Even still, WB has been remarkably consistent over the past decade, finishing in first or second among all studios in eight of the last ten years, including a studio record $2.13 billion made in 2009. WB is also the only studio to gross more than $1 billion domestically every year since 2000.