Comedian Kevin Hart announced Tuesday that he will host next year's Academy Awards, calling it the "opportunity of a lifetime."

"I am so happy to say that the day has finally come for me to host the Oscars,” Hart wrote in a post on Instagram. “I am blown away simply because this has been a goal on my list for a long time.”

View this post on Instagram

For years I have been asked if I would ever Host the Oscars and my answer was always the same...I said that it would be the opportunity of a lifetime for me as a comedian and that it will happen when it’s suppose to. I am so happy to say that the day has finally come for me to host the Oscars. I am blown away simply because this has been a goal on my list for a long time....To be able to join the legendary list of host that have graced that stage is unbelievable. I know my mom is smiling from ear to ear right now. I want to thank my family/friends/fans for supporting me & riding with me all this time....I will be sure to make this years Oscars a special one. I appreciate the @TheAcademy for the opportunity ....now it’s time to rise to the occasion #Oscars

A post shared by Kevin Hart (@kevinhart4real) on

Hart will take over for Jimmy Kimmel, who hosted the last two shows. Kimmel, who frequently mocks President TrumpDonald John TrumpREAD: Transcript of James Comey's interview with House Republicans Klobuchar on 2020: ‘I do think you want voices from the Midwest’ Israel boycott fight roils Democrats in year-end spending debate MORE on his late night show, took aim at the president during both ceremonies.

Hart has in the past jabbed at Trump, most recently at the MTV Video Music Awards in August. He chided the president for his criticism of NFL players who have taken a knee in protest during the national anthem, and joked that the awards show was similar to a day at the White House.

"You never know what’s going to happen at the VMAs," Hart said. "I mean, beefs pop off. Bad language, people run to the bathroom and send out crazy tweets."

"It’s basically like a typical day at the White House," he continued. "In your face Trump, suck it." 

The Academy of Motion Picture Arts and Sciences, which welcomed Hart as its host with a congratulatory tweet, announced earlier this year a series of efforts to boost ratings after last year's show hit an all-time low. Among the changes are shortening the broadcast time to three hours, and proposing an "outstanding achievement in popular film" category that was quickly scuttled.