Maroon 5 frontman Adam Levine has secured a role in a musical film, Can a Song Save Your Life?.

The Moves Like Jagger singer, who also serves as one of the judges on The Voice U.S, is set to join the likes of Mark Ruffalo, Keira Knightley and Hailee Steinfeld.

Levine will play the boyfriend of Knightley’s character, according to Deadline.

Knightley will play a woman who moves with her boyfriend to New York City in order to pursue career in music. After the boyfriend dumps her for a solo contract, the woman is found singing at a local bar by a record producer, who will be portrayed by Ruffalo.

In addition to landing the big screen role, Levine has been added to the cast ensemble of American Horror Story season 2.

He will star as one-half of a couple known as "the Lovers."