In which era was Ashwathama?

Ashwathama is one of the 7 Chiranjeevi

Chiranjeevi means immortal

Ashwathama was in Mahabharata

Ashwathama was the son of Drona, the guru of Pandavas and Kauravas.

Who was cursed by Krishna in the Maharbharat war

Sharp was that he was cursed to live till the end of the earth.