The exit polls seemed to indicate that Modi's campaign strategy had paid dividends. Seven polls suggested that the BJP and its allies would garner between 287 and 340 seats, well above the 272-seat threshold for a parliamentary majority.
Two exit polls predicted that Modi's coalition would fall short of that mark.
The polls showed the main opposition Congress party and its allies winning between 70 and 164 seats. Observers expected that opposition parties would try to cobble together a coalition of their own if Modi's party stumbled.
Some members of the opposition parties emphasised the unreliability of exit polls and the potential for surprises when results are announced.
Today was the seventh and final polling day in an election with nearly 900 million eligible voters that began April 11. The battle was bruising, as election authorities repeatedly stepped in to discipline candidates for violating rules on poll rhetoric.
The overall voter turnout was 66 per cent, the same as in the 2014 national poll. In that election, Modi appealed to the aspirations of voters, promising development for all and the advent of "achhe din," or good days.
The current campaign was less about hope than fear: Modi projected himself as the only leader who could ensure the nation's security, pointing to the airstrikes he ordered in February on an alleged militant training camp inside Pakistan.
Senior BJP leaders engaged in anti-Muslim rhetoric. Amit Shah, the party's president, called Muslim migrants who enter the country illegally "termites." Yogi Adityanath, the radical Hindu priest who leads country's largest state, said opposition parties were infected with a "green virus" (green is a colour traditionally associated with Islam).
The election was largely peaceful until its final days. In West Bengal, one of the most populous states in the country, the BJP was engaged in a bitter contest for votes with the local party that governs the state, the Trinamool Congress.
Last week, clashes broke out between supporters of the two parties in Kolkata, the state capital. Today two crude bombs were thrown near a polling booth in the city, creating panic among voters. Each party accused the other of fomenting violence to keep people away from the polls.