Addressing a rally here, he said this Assembly election has demonstrated to the world the faith the people of the state have in Indian democratic system by defying threats and boycott calls.
"My biggest thanks to the people of Jammu and Kashmir. They turned out in such large numbers to vote despite calls by separatists... There were efforts to whip up anti-India sentiments and defame India globally," he said.
About BJP, which got 25 seats in the 87-member Assembly, Modi said it had registered a "historic victory".
He, however, was silent on the stalemate that followed the fractured electoral verdict with no political government being formed in the state. Because of this, Governor's Rule was imposed in the state yesterday.
PDP, which has emerged as the single largest party with 28 seats, and BJP were in talks to form the government but apparently could not reach any agreement.