Last week’s summer premiere of animated series “Gravity Falls” has set a Disney XD record for viewership.

According to Nielsen’s Live+ 3 estimates, the July 13 episode “A Tale of Two Stans” averaged 2.319 million viewers — the largest audience for a regular Disney XD series telecast in the network’s six-year history. In addition to total viewers, it also set a network record in kids 2-11 (1.036 million), boys 2-11 (686,000), boys 6-11 (574,000), kids 6-14 (1.279 million) and boys 6-14 (856,000).

“Gravity Falls” now accounts for Disney XD’s top seven regular animated series telecasts of all time in kids 6-11.

Last week’s “Gravity Falls” was the top-rated program in its 8:30 p.m. timeslot across all kid and boy 2-11, 6-11 and 6-14 demos and was cable TV’s No. 1 scripted telecast in total viewers, according to Live+3 estimates from Nielsen.

The series, which follows the adventures of Dipper Pines and twin sister Mabel, premiered on Disney Channel in 2012 and moved over to Disney XD about a year ago. Last week’s episode answered a long-running question about a journal that turns out to be written by their Uncle Stan’s twin brother.