Mehcad Brooks who plays James Olsen is departing The CW's Supergirl during the first half of Season 5 per Entertainment Weekly.
Brooks is leaving the CW series to focus on films, the book he is writing and the development of a cable series in which he would star. The door is always open to him to return. Details on his exit have not been revealed.
"We love Mehcad and we're sad to see him leave the show as a series regular, but we're excited for both Mehcad and James Olsen’s future," said showrunners Robert Rovner and Jessica Queller in a statement. "He'll always be a part of our Supergirl family and we look forward to James returning to National City at some point to visit his sister and his super friends."
Source: