An image from a short animation released after Donald Trump announced he would be running for president.20th Century FoxNearly 17 years ago, an episode of "The Simpsons" predicted that Donald Trump would one day become US president.

And this wasn't the only time the writers have managed to predict the future.

"The Simpsons" has been running for over 27 years, so it's inevitable that some themes that crop up in the show might occur in real life. But some of the plotlines are eerily close to events that have happened throughout the world.

We've listed some of the strangest predictions the cartoon's writers have made since the show's launch in 1989.

From Homer discovering the Higgs boson to animators drawing The Shard in London almost 20 years before it was built.

Here are 15 times "The Simpsons" predicted the future: