TNT’s “The Librarians,” based on the network’s successful “Librarian” movie franchise, opened to good numbers as a series Sunday night, becoming cable’s top-rated premiere of the year.

The 8-10 p.m. launch of “The Librarians” averaged a 1.3 rating in adults 18-49 and about 5.4 million viewers overall, according to Nielsen, a higher demo rating than some dramas airing Sunday on ABC and CBS.

TNT’s “The Last Ship” and FX’s “The Strain” had previously been the calendar year’s top basic cable premiere in 18-49 (both 1.2), but “Librarians” edged it out. It also has become the most-watched new cable series launch overall for the year, slightly more than “Last Ship” when it opened in June (5.33 million).

Add in an encore telecast, and Sunday’s premiere of “The Librarians” drew 7.3 million viewers, including about 2.3 million adults 18-49.

“The Librarians” centers on an ancient organization hidden beneath the Metropolitan Public Library dedicated to protecting an unknowing world from the secret, magical reality hidden all around. Rebecca Romijn, Christian Kane, Lindy Booth and John Kim star in the series as the newest protectors of the world’s mystical treasures, with John Larroquette as their reluctant caretaker. Noah Wyle recurs as Flynn Carsen, the role he played in TNT’s “Librarian” movie trilogy.

New episodes of “The Librarians” will air Sundays at 8 p.m. ET. The series is produced by Electric Entertainment, with executive producers Dean Devlin, John Rogers, Marc Roskin and Noah Wyle.