Fox’s “Maze Runner: The Death Cure” has ended the three-week reign of Sony’s “Jumanji: Welcome the “Jungle” with a respectable $23.5 million at 3,787 North American locations for the weekend.

“The Death Cure,” starring Dylan O’Brien in the finale of the dystopian trilogy, performed at the top end of forecasts with the best performances in the west and south central regions. The opening had been delayed for a year following injuries O’Brien suffered on the set.

The original “Maze Runner” launched with $32.5 million in 2014 and “Maze Runner: The Scorch Trials” launched with $30.6 million in 2015. “The Death Cure,” which centers O’Brien’s character and his cohorts rescuring their friends from government headquarters, generated a B+ Cinemascore and drew a 51% female audience; 57% of the total audience was under 25.

“Jumanji” finished with $16.4 million at 3,553 sites in its sixth weekend, declining only 16% and giving it $338 million domestically since Dec. 20 — $3 million behind “Zootopia” for the 46th spot on the all-time list. That’s far above anyone’s original forecast and  makes it the third-highest performer for Sony of all time.

The action comedy, starring Dwayne Johnson and Kevin Hart, also grossed $17.7 million internationally this weekend for an overseas total of  $484 million and a worldwide box office of $821.7 million.

Overall domestic business was solid rather than spectacular with $139 million, down 2.5% from the same weekend last year, according to comScore. Thanks largely to “Jumanji,” year-to-date business as of Sunday is up 1.7% to $918.9 million.

Christian Bale’s “Hostiles” led the rest of the pack with $10.2 million at 2,815 venues as Entertainment Studios expanded the historical drama from 119 locations. Fox’s sixth weekend of “The Greatest Showman” came in fourth with $8.9 million at  2,663 screens, declining only 11% in a remarkable show of staying power. The Hugh Jackman musical has taken in $126.5 million.

Steven Spielberg’s “The Post” followed in fifth with $8.9 million at 2,640 locations in the wake of Oscar nominations for best picture and Meryl Streep as best actress. The Fox release declined only 24% and has toppped $58 million so far.

Warner’s second weekend of “12 Strong” finished sixth with $8.6 million at 3,018 sites, edging STXfilms’ second frame of “Den of Theives” with $8.4 million at 2,432 venues.

Fox Searchlight’s “The Shape of Water,” which led the Oscar nominations with 13, came in eighth with $5.7 million at 1,840 sites as the studio added 1,001 new locations. The fantasy drama has grossed $37.7 million in nine weeks.

Warner Bros.’ third weekend of “Paddington 2” took ninth with $5.6 million at 2,792 screens for a 17-day total of $32 million. The studio acquired North Ameican rights to the family comedy from the troubled Weinstein Company after multiple accusations of sexual abuse against ousted founder Harvey Weinstein.

Disney-Lucasfilm’s seventh weekend of “Star Wars: The Last Jedi” followed in 10th place with $4.2 million at 1,745 venues for a 45-day total of $610.7 million and a worldwide take of $1.31 billion.

Indian historical drama “Padmaavat” nearly cracked the top 10 with an estimated $4.1 million at 324 North American locations. The film, directed by Sanjat Leela Bhansali, is based on an epic poem about a 13th Century queen. “Padmaavat” set a new record for a Bollywood title, exclipsing the $3.6 million mark set in 2014 by “PK.”

Roadside Attractions’ second weekend of “Forever My Girl” finished 12th with $3.7 million at 1,424 locations, followed by Fox Searchlight’s “Three Billboards Outside Ebbing, Missouri” with $3.6 million at 1,457 sites in the wake of receiving seven Oscar nominations. “Three Bollboards” has a three-month total of $37 million.

Neon/30West’s “I, Tonya” took in $3 million at 960 sites to push its domestic total to $18.8 million. The distributor added 160 venues following the film’s three Oscar nods, including Margo Robbie for Best Actress and Allison Janney for Best Supporting Actress.

Focus Features’ “Darkest Hour,” which scored six Oscar nominations, pulled in $2.9 million at 1,322 locations, lifting the Winston Churchill war drama past $45 million. Focus’ “Phantom Thread,” which also received six Oscar nods, took in $2.9 million at 1,021 sites to push domestic gross to $10.6 million for the Daniel Day-Lewis fashion drama.