TVLine has learned exclusively that the onetime Galavant queen is trading her ill-gotten crown for a belly full of circuit boards, playing the robot Aida during Season 4 of the ABC series (premiering Tuesday, Sept. 20 at 10/9c).

Previously announced S.H.I.E.L.D. castings include Jason O’Mara as the new Director, Gabriel Luna as Robbie Reyes aka Ghost Rider and Parminder Nagra as a powerful political figure who is outspoken about her distrust of Inhumans.

In addition to her reign as Madalena, Jansen’s TV credits include Young & Hungry and Baby Daddy.