Sept. 19 (UPI) — Nicholas Galitzine has joined the cast of the new film The Idea of You.

Amazon confirmed Monday that Galitzine, 27, will star with Anne Hathaway, 39, in the adaptation at Prime Video.

The Idea of You is based on the Robinne Lee novel, believed to be inspired by Harry Styles. The film follows Sophie (Hathaway), a 40-year-old divorced mother who meets and falls for Hayes Campbell (Galitzine), the 24-year-old lead singer of the hottest boy band on the planet, August Moon.

Big news: @nickgalitzine will star alongside Anne Hathaway in The Idea of You, directed by Michael Showalter, Cathy Schulman & Gabrielle Union (@itsgabrielleu) producing. pic.twitter.com/Swx3UEANs5— Prime Video (@PrimeVideo) September 19, 2022

Jennifer Westfeldt (Kissing Jessica Stein) wrote the screenplay, with Michael Showalter (The Big Sick) as director. Cathy Schulman will produce for Welle Entertainment, which is developing the film with Amazon Studios.

The project will begin production in October.

Galitzine will also star in the Prime Video romantic comedy Red, White & Royal Blue, based on the Casey McQuiston novel.

The actor is known for starring in the 2021 film Cinderella and the Netflix romantic drama Purple Hearts.