It should not prove too surprising to anyone familiar with the publishing industry that, in a year that saw two new Harry Potter titles published, one of them would top the print bestseller list. The only surprise here is that, unlike previous titles, the latest from author J.K. Rowling, Harry Potter and the Cursed Child: Parts 1 and 2, is not a novel but a play and was penned in conjunction with coauthors—the theater director John Tiffany and the screenwriter and playwright Jack Thorne.

The script, published on July 31 last year, moved nearly 4.5 million units by year’s end at outlets that report to Nielsen BookScan—just shy of four times the number of copies sold of the #2 on the print bestseller list, Double Down, the 11th installment in Jeff Kinney’s Diary of the Wimpy Kid series. (Rowling’s other major Potter entry this year was the screenplay for the film Fantastic Beasts and Where to Find Them, which has moved 659,172 units since its publication on November 18.) Kinney, like Rowling, is no stranger to this list; his 10th Wimpy Kid volume, Old School, hit #2 on last year’s list.

At #3 was Bill O’Reilly and Martin Dugard’s Killing the Rising Sun: How America Vanquished World War II Japan, the latest in their bestselling Killing series—the first to focus on a country rather than a singular historical figure. Last year’s powerhouse The Girl on the Train continued to sell well throughout the year, earning it the #4 slot on the print bestsellers list.

Easily the most surprising title to crack the top five was Swedish author Fredrik Backman’s A Man Called Ove, published by Atria Books imprint Washington Square Press in July 2014. The book was a favorite among indie booksellers, in spite of its meager first printing of 6,500 copies. In 2016—a year that saw the U.S. publication of Backman’s latest novel, Britt-Marie Was Here, and the U.S. release of Ove’s Swedish-language film adaptation—Ove pushed 712,283 units, putting it in the fifth slot on Nielsen’s list.

In the Amazon Kindle e-book store, Hawkins’s Girl on the Train found even more traction, hitting the top of the list for the second year running; her sophomore effort, Into the Water, will also be published by Riverhead and is due to release in May. Following one Girl was another, Robert Bryndza’s The Girl in the Ice, the first in a series of serial killer thrillers published by English digital publisher Bookouture. The book had sold more than a million copies by late September, according to Bookouture publisher Oliver Rhodes.

Rowling’s Cursed Child proved blessed in the digital market as well, landing at #3 on Amazon’s Kindle bestseller list for the year. Kristin Hannah’s sweeping work of WWII-era historical fiction, The Nightingale, hit #4 this year. The novel was published in February 2015 but crept up the list this year in comparison to last year’s list, on which it landed at #5. The fifth slot on the 2016 list went to Nancy Star and her novel Sisters One, Two, Three.

Top 10 Print Bestsellers, 2016

Rank Title Author Imprint Total Units
1 Harry Potter and the Cursed Child: Parts 1 and 2 J.K. Rowling et al Scholastic/Levine 4,453,382
2 Double Down (Diary of a Wimpy Kid #11) Jeff Kinney Amulet 1,135,249
3 Killing the Rising Sun O’Reilly/Dugard Holt 1,104,389
4 The Girl on the Train Paula Hawkins Riverhead 954,735
5 A Man Called Ove Fredrik Backman Washington Square 712,283
6 Miss Peregrine’s Home for Peculiar Children Ransom Riggs Quirk 663,040
7 The Whistler John Grisham Doubleday 662,919
8 Fantastic Beasts and Where to Find Them J.K. Rowling Scholastic/Levine 659,172
9 The Life-Changing Magic of Tidying Up Marie Kondo Ten Speed 638,148
10 The Magnolia Story Gaines/Gaines Thomas Nelson 630,558

Source: Nielsen Bookscan

Top 10 Kindle Bestsellers, 2016

Rank Title Author Imprint
1 The Girl on the Train Paula Hawkins Riverhead
2 The Girl in the Ice Robert Bryndza Bookouture
3 Harry Potter and the Cursed Child: Parts 1 and 2 J.K. Rowling et al. Pottermore
4 The Nightingale Kristin Hannah St. Martin’s
5 Sisters One, Two, Three Nancy Star Lake Union
6 Me Before You Jojo Moyes Penguin
7 Walk Into Silence Susan McBride Thomas & Mercer
8 A Man Called Ove Fredrik Backman Atria
9 The Whistler John Grisham Doubleday
10 Follow You Home Mark Edwards Thomas & Mercer

Source: Amazon. Sales are through Dec. 31, 2016