The legendary filmmaker, 80, is currently filming an untitled series for Amazon's streaming TV service, and it will feature Miley, 23, who impressed him as the school girl with a secret pop career.

Woody first came across the actress and singer when watching the kids' show with his children and he was immediately drawn to the young star.

"I noticed years ago that my kids would be watching Hannah Montana," he tells The Hollywood Reporter, "and I would say, 'Who is that girl? She's got such a good delivery. You know, she snaps those lines off so well'. The show is a silly little show, but she's very good at what she does."

Miley turned her back on the Disney show in 2009 and is now best known as a taboo-breaking musician and performer.

Woody asked the star to appear in his new show after his initial good impressions of her were confirmed by an appearance on U.S. comedy show Saturday Night Live.

"I said, 'It confirms what I always thought about her," he explains. "She is very good, she is really a talented girl'. She wanted to take some time off, but she agreed (to do the series) because the role interested her."

The pair then met in Woody's native New York and agreed to work together.

Although he is yet to come up with a title for the programme, the Annie Hall star reveals, "It's a comedy that stars me, Elaine May and Miley Cyrus primarily - a domestic comedy that takes place in the late 1960s."

Woody and Miley's untitled comedy series is scheduled for releas later this year (16).