Watch: Harry Styles-produced sitcom 'Happy Together' gets prime-time slot on CBS

Harry Styles, who found fame and fortune in One Direction, is now branching out into the world of TV production. He is one of the executive producers of "Happy Together," a half-hour comedy series that will premiere this fall on CBS. The show's premiere date is to be announced, but "Happy Together" will air on Mondays at 8:30 p.m. ET/PT.

"Happy Together" is about a happily married young couple named Jake and Claire (played by Damon Wayans Jr. and Amber Stevens West), who let a teen-idol pop star named Cooper (played by Felix Mallard) live with them as he hides out from fans and the media. The show is inspired by Styles' real-life experiences of temporarily living with TV producer Ben Winston and his wife Meredith during the early years of One Direction's fame. Winston told Rolling Stone that Styles secretly lived in their attic, and had originally planned to stay for two weeks, but it turned into 20 months. Winston said, "Those 20 months were when they went from being on a reality show, 'X Factor,' to being the biggest-selling artists in the world. That period of time, he was living with us in the most mundane suburban situation. No one ever found out, really. Even when we went out for a meal, it's such a sweet family neighborhood, no one dreamed it was actually him. But he made our house a home. And when he moved out, we were gutted."

Winston is currently an executive producer of "Happy Together" and "The Late, Late Show With James Corden." Styles is a close friend of Corden's and has been on "The Late, Late Show" several times. (Styles even filled in for Corden on Dec. 12, 2017, when Corden's wife gave birth to their third child.) Winston also directed several of One Direction's most famous videos, such as "Best Song Ever," "Story of My Life," "Midnight Memories, "You & I," "Night Changes" and "History." Before joining "The Late, Late Show," Winston was an executive producer on "The X Factor" U.K. (the talent show that created One Direction in 2010) and a producer of the 2013 documentary film "One Direction: This Is Us." The other executive producers of "Happy Together" are Austen Earl, Tim McAuliffe, Michael Rotenberg and Jonathan Berry. "Happy Together" is produced by CBS Television Studios.

One Direction went on hiatus in 2016. Styles has since launched a successful solo career. He also made his film debut as an actor by playing a World War II British soldier in Christopher Nolan's 2017 Oscar-winning blockbuster "Dunkirk."