@lindsaylohan; The Associated PressLindsay Lohan, left, posted a photo on Twitter of herself with a hairstyle and outfit similar to late actress Elizabeth Taylor, seen at right in a file photo from the film "Butterfield 8" in 1961.

Just weeks after being taken off formal probation, Lindsay Lohan is hard at work on her comeback. The 25-year-old actress appears on "Glee" next month and after that she'll be playing the role of a lifetime.

Lohan will be portraying silver screen icon Elizabeth Taylor in an upcoming Lifetime movie titled "Liz & Dick," a TV film based on Taylor's romance with Richard Burton.

"I have always admired and had enormous respect for Elizabeth Taylor," Lohan said in a statement. "She was not only an incredible actress but an amazing woman as well. I am very honored to have been asked to play this role."

Rumors that LiLo would be cast in the movie have been buzzing for months, but Lifetime confirmed the news Monday. Production will begin in Los Angeles on June 4, according to E! News.

"We have wanted Lindsay from day one," executive producer Larry Thompson told E! News. "She had a lot in her life that was going on. We needed to give her time to take care of her business, and while we negotiated the deal for her we prayed for her—and wonderfully she has behaved. She's cleared herself and we're ready to start this movie."

"We truly feel that Lindsay Lohan is perfect for Elizabeth Taylor for our movie... I think Lindsay—who is very gifted—deserved another chance," Thompson continued. "We never, of three pages of 'what if's' in the negotiation, there never was 'what if she can't act.' We know she can act."

The New York Times reports Lifetime compared Taylor to Lohan as being someone who spent her life "swarmed by paparazzi" and noted that her and Burton's "love affair was played out entirely in front of the global press." Taylor, who died in 2011, won two Academy Awards but was known just as well for her many marriages (Burton was her fourth and fifth husband) as for her acting.

"Liz & Dick" will be Lohan's first leading role since 2009's direct-to-DVD "Labor Pains." The former "Mean Girls" star has had trouble getting steady work the past few years as she was in and out of jail, rehab, court-ordered community service and counseling.

A judge ended her supervised probation on March 29, but Lohan will remain on informal probation until May 2014 for taking a necklace without permission last year.

"You need to live your life in a more mature way, stop the nightclubbing and focus on your work," Superior Court Judge Stephanie Sautner said.

The troubled actress hosted a highly-rated episode of "Saturday Night Live" last month to mixed reviews, but her career could be getting back on track. She'll be playing herself as a singing competition judge on the May 15 season finale of "Glee," and then appear in the lead role of the Liz Taylor biopic when it airs on Lifetime in October.