Famed Queen rocker Freddie Mercury is getting the big-screen treatment, with Mr. Robot star Rami Malek slated to star in a project titled Bohemian Rhapsody.

X-Men director Bryan Singer wrote on Instagram on Friday that he will direct the project.

"Looking forward to @ramimalek @whoismrrobot playing #Freddie photo @therealmickrock," Singer wrote.

Singer's press representative Simon Halls confirmed that Malek is in final discussions to star as Mercury.

The key casting restarts the long-awaited project centered on the charismatic Mercury. Borat star Sacha Baron Cohen had been attached to star in the film for years. There is no announced timeline for production or release of the film.

Malek has won an Emmy and a Critics' Choice Award for his role as vigilante hacker Elliot Alderson in Mr. Robot, a critically acclaimed USA Network drama.

{"provider_url":"https://www.instagram.com","media_id":"1376387377161738002_1388524366","author_name":"bryanjaysinger","height":null,"thumbnail_url":"https://scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/14709544_410454876009080_7555078530019622912_n.jpg?ig_cache_key=MTM3NjM4NzM3NzE2MTczODAwMg%3D%3D.2","thumbnail_width":640,"thumbnail_height":640,"provider_name":"Instagram","title":"#bohemianrhapsody #queen #freddiemercury #brianmay #rogertaylor #johndeacon #grahamking #fox #newregency Looking forward to @ramimalek @whoismrrobot playing #Freddie photo @therealmickrock","html":"&#lt;blockquote class=\"instagram-media\" data-instgrm-captioned data-instgrm-version=\"7\" style=\" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);\"&#gt;&#lt;div style=\"padding:8px;\"&#gt; &#lt;div style=\" background:#F8F8F8; line-height:0; margin-top:40px; padding:50.0% 0; text-align:center; width:100%;\"&#gt; &#lt;div style=\" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURczMzPf399fX1+bm5mzY9AMAAADiSURBVDjLvZXbEsMgCES5/P8/t9FuRVCRmU73JWlzosgSIIZURCjo/ad+EQJJB4Hv8BFt+IDpQoCx1wjOSBFhh2XssxEIYn3ulI/6MNReE07UIWJEv8UEOWDS88LY97kqyTliJKKtuYBbruAyVh5wOHiXmpi5we58Ek028czwyuQdLKPG1Bkb4NnM+VeAnfHqn1k4+GPT6uGQcvu2h2OVuIf/gWUFyy8OWEpdyZSa3aVCqpVoVvzZZ2VTnn2wU8qzVjDDetO90GSy9mVLqtgYSy231MxrY6I2gGqjrTY0L8fxCxfCBbhWrsYYAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;\"&#gt;&#lt;/div&#gt;&#lt;/div&#gt; &#lt;p style=\" margin:8px 0 0 0; padding:0 4px;\"&#gt; &#lt;a href=\"https://www.instagram.com/p/BMZ6QbxDpcS/\" style=\" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;\" target=\"_blank\"&#gt;#bohemianrhapsody #queen #freddiemercury #brianmay #rogertaylor #johndeacon #grahamking #fox #newregency Looking forward to @ramimalek @whoismrrobot playing #Freddie photo @therealmickrock&#lt;/a&#gt;&#lt;/p&#gt; &#lt;p style=\" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;\"&#gt;A photo posted by Bryan Singer (@bryanjaysinger) on &#lt;time style=\" font-family:Arial,sans-serif; font-size:14px; line-height:17px;\" datetime=\"2016-11-04T22:23:03+00:00\"&#gt;Nov 4, 2016 at 3:23pm PDT&#lt;/time&#gt;&#lt;/p&#gt;&#lt;/div&#gt;&#lt;/blockquote&#gt;\n&#lt;script async defer src=\"//platform.instagram.com/en_US/embeds.js\"&#gt;&#lt;/script&#gt;","width":658,"version":"1.0","author_url":"https://www.instagram.com/bryanjaysinger","author_id":1388524366,"type":"rich"}

Mercury, guitarist Brian May and drummer Roger Taylor formed Queen in 1970 and went on to record hits such as Bohemian Rhapsody, We Are the Champions and Somebody to Love.

In November 1991, Mercury released a statement from his deathbed confirming he was suffering from AIDS. He died of complications from the disease in his London mansion days later at age 45.