The history of Devanahalli dates back to 15th century, when a family of fleeing refugees from Kanchipuram, camped near the foot of Ramaswami betta, located east of Nandi Hills. Their leader Rana Baire Gowda was apparently directed in a dream to set up a settlement in this region. He and his Morasu Wokkalu family settled in a small village, Ahuti, which was later known as Avati. His son Malla Baire Gowda founded Devanahalli, Chikka-ballapura and Dodda-ballapura. Kempegowda, the founder of Bangalore city is also from Morasu Wokkalu family.