"People's continuous faith in the BJP is humbling and gladdening," Modi tweeted as results showed the Bharatiya Janata Party ahead of the Congress in the election.
"We are fully committed to fulfilling (the) aspirations of 125 crore Indians," he said.
The prime minister said after similar civic polls wins in Madhya Pradesh and Rajasthan, the Bengaluru results "complete a hat-trick of wins for the BJP".
"This is a win for politics of development and good governance.
"Thank you Bengaluru! My gratitude to (the) people and congratulations to Karnataka BJP leaders and workers for the great election results," he added.