YouTube star Elijah Daniel rented Hell, Michigan, and changed its name to Gay Hell to protest the Trump administration's decision not to fly pride flags during Pride Month, the annual June celebration of the LGBTQ community.

Hell is an unincorporated community in Putnam Township, in Michigan's Livingston County. It's about 15 minutes northwest of Ann Arbor.

Daniel has not revealed how much he paid to temporarily buy the community, which was listed on the market in 2016 for $900,000.

"And my first act as owner, I have renamed my town to Gay Hell, MI. The only flags allowed to fly are Pride," Daniel said of the purchase.

Visit INSIDER's homepage for more stories.

A YouTube star claims he rented the town of Hell, Michigan, and changed its name to Gay Hell to protest the Trump administration's decision not to fly pride flags during Pride Month, the annual June celebration of the LGBTQ community.

Elijah Daniel, 25, announced Twitter that he rented Hell, where he previously served a stint as mayor, according to the Detroit Free Press.

Hell, Michigan, is an unincorporated community in Putnam Township, in Michigan's Livingston County. It's about 15 minutes northwest of Ann Arbor.

"Ahead of pride month Trump's administration put a ban on embassies flying pride flags," Daniel tweeted. "So as of today, I am now the owner of Hell, Michigan. I bought the whole town. And my first act as owner, I have renamed my town to Gay Hell, MI. The only flags allowed to fly are Pride."

Daniel told NBC News that the ban of flags other than Pride flags was intended to be a joke.

The California resident said he was inspired to change Hell's name after Vice President Mike Pence confirmed that US embassies had been banned from flying Pride flags on embassy flagpoles.

The rapper and comedian, who has more than 500,000 YouTube subscribers, said he's trying to inspire his audience to be politically active and hopes that people visit Michigan because of the name change.

Read more: A makeup artist says she was 'extremely hurt' after a bride refused to hire her because she's a lesbian

Daniel has not reveled how much he spent on Hell. He told NBC News he would be a temporary owner.

The five-acre community, which is on a commercial property, was on the market in 2016 for $900,000, the Free Press reported.

In August 2017, Daniel paid $100 to be Hell's mayor for day as a joke in response to President Donald Trump's restriction on travel to several Muslim countries.. During the stint, he banned heterosexuality and was impeached, according to MLive.