Updated

LOS ANGELES -- The boy wizard has vanquished the dark knight with a record-setting magic act at the weekend box office.

Warner Bros. estimates that "Harry Potter and the Deathly Hallows: Part 2" took in $168.6 million domestically from Friday to Sunday. That beats the previous best opening weekend of $158.4 million, also held by Warner Bros. for 2008's Batman blockbuster "The Dark Knight."

The "Harry Potter" finale also set a record for best opening day domestically Friday with $92.1 million.

"Deathly Hallows: Part 2" does have the advantage of 3-D screenings, which cost a few dollars more than 2-D shows. Because of the higher 3-D price, plus regular inflation, "Deathly Hallows: Part 2" sold fewer tickets than "The Dark Knight" over opening weekend.