Image copyright Marvel/JEFF DEKAL Image caption The character, Riri Williams, is a science genius who builds her own armoured suit at university

Comic book maker Marvel has revealed a 15-year-old black girl will be donning the famous armour of Iron Man in an upcoming episode of the series.

Civil War II sees Tony Stark hang up his boots to be replaced by Riri Williams, the company said.

The character is a Chicago-born science genius studying at MIT and made her debut earlier this year.

The news has prompted a huge reaction online, with many welcoming it as a step forward for diversity.

Iron Man writer Brian Michael Bendis told Time he came up with Williams' character after being struck by the "chaos and violence" of Chicago while working in the city.

"And this story of this brilliant, young woman whose life was marred by tragedy that could have easily ended her life, just random street violence, and went off to college was very inspiring to me.

"I thought that was the most modern version of a superhero or superheroine story I had ever heard."

The Iron Man character first appeared in 1963. The series focuses on billionaire weapons inventor Tony Stark.

There has been jubilation at the news

Image copyright @ericsmithrocks

Image copyright @i_am_other

But not everyone was impressed

Image copyright @PhoeboBuffay

Image copyright @leke03

There were practical questions

Image copyright @emulatelife

Or had Marvel missed a trick?

Image copyright @keatingthomas

Image copyright @GayAtHomeDad

And some questioned Marvel's commitment to diversity