“Supergirl” and “Legends of Tomorrow” will take turns in occupying CW’s Monday 8 p.m. time slot next year.

The network announced on Friday that after the holidays, “Supergirl” will return to the time slot for four weeks starting Jan. 15. After which, “Legends” will take over the time slot for nine weeks starting Feb. 12, while the Melissa Benoist-led series takes a break.

“Supergirl” will then reclaim the time slot on April 16 following the Season 3 finale of “Legends of Tomorrow” on April 9. “Supergirl” will stay in the time slot until its Season 3 finale on June 18.

The “Legends” was displaced to Monday nights after the network put its new superhero series “Black Lightning” to the “Legends’” previous Tuesday 8 p.m. time slot.

The synopsis for the Season 3, episode 10 of “Supergirl” has yet to be released, but the trailer for the installment teases the introduction of another Legion of Super-Heroes member, Brainiac 5 (Jesse Rath). As previously reported, Brainiac 5 is a half-computer, half-organic life with a 12-level intellect. In the promo clip, Brainiac 5 appears to team up with Mon-El (Chris Wood) and Saturn Girl (Amy Jackson) to protect National City from Reign (Odette Annable) while Supergirl (Benoist) recovers from the injuries she sustained during her initial encounter with the Worldkiller.

Meanwhile, the trailer for Season 3, episode 10 of “Legends of Tomorrow” teases an exorcism by guest character John Constantine (Matt Ryan). But as executive producer Phil Klemmer teased to The Hollywood Reporter last October, there’s a lot more things to look forward to in the installment.

“Constantine’s appearance in episode 10 will involve the following: a revisiting of ‘Arrow’ Season 4 and the events following that season’s finale episode; a confrontation with this season’s Big Bad on ‘Legends’; some hot sex; and Damien Darhk (Neil McDonough), because how can you do an episode about dark magic and not have Damien Darhk?” Klemmer said. “More than anything, the episode promises to be scary as you know what — tonally it’s ‘The Exorcist’ meets ‘One Flew Over the Cuckoo’s Nest.’ Demonic possession in a mental institution — what’s not to love?”

What do you think of “Supergirl” and “Legends of Tomorrow” sharing a time slot in 2018? Sound off in the comments section below!