Who wrote The Iliad which told the story of the Trojan war?

Both The Iliad and The Odyssey were written by the Greek poet Homer .