Vanessa Williams is joining the third season of TNT’s “The Librarians,” Variety has learned.

Williams joins in a recurring role, playing General Rockwell, the tough, brilliant head of the top secret, black ops secret government agency, known as D.O.S.A. Investigating “Statistical Anomalies,” Williams’ character sets her sights on apprehending the Librarians and obtaining the magical artifacts contained in the Library.

The third season of TNT’s fan-favorite series will see the Librarians confronting a new antagonist, which has shown up in the form of D.O.S.A. — The Department of Statistical Anomalies — whose mission is to apprehend the Librarians and take control of the Library and all the magical artifacts hidden inside.

Williams’ role in “The Librarians” is not the first time she’s played a villainous boss, as she starred as Wilhelmina Slater in “Ugly Betty.” Her latest television roles have been an arc on “The Good Wife” and a guest episode of “Broad City.” She also starred on “Desperate Housewives” and “666 Park Avenue.” Up next, she will topline VH1’s scripted drama “Satan’s Sisters,” which is inspired by a dramatic daytime talk show like “The View.”

“The Librarians” Season 3 premieres this fall on TNT, though no premiere date has been set.