Rama was born at the end of the Second Age or Treta-yuga and he came into the world specifically at the bidding of the gods to deal with the fearsome multi-headed demon Ravana, the king of Lanka