Ajamila

The Bhagavata quotes him as an example of it being possible for the vilest of men to achieve Vishnuloka. Ajamila lived in Kanyakubja and was once asked by his father to fetch wood from the forest. Ajamila saw a beautiful shudra woman there, forgot he was a brahmin, and married her. They had many children. When he turned 87, he realised it was time for him to die, and even started seeing Yama’s henchmen. He started calling his eldest son Narayana. Vishnu appeared and drove Yama’s henchmen away. From that day on, Ajamila became a staunch Vishnu devotee. According to Bhagavata Ashtamaskanda Chapter 1, he bathed in the Ganga, meditated and in a few years, attained moksha.