When Agasthya Rishi visited Mahabali, then the King MahaBali gifted Sri Lanka to him. Agasthya ji is also called Vaman Avtar of Vishnu.
So the question is did he got this prize land before Visheshrava (Father of Ravan) or Pulatsya Rishi (Grand Father of Ravan).