“Resigned from Vadodara LS seat. Due to people's affection got elected by historic margin. Will always remain grateful to people of Vadodara,” said Modi on Twitter. "I assure people of Vadodara I will leave no stone unturned in ensuring that Vadodara's development scales newer heights in the years to come."
"I will represent Varanasi in Lok Sabha & I look forward to this wonderful opportunity to serve Ganga Maa & work for Varanasi’s development," he said in his tweet.
Samajwadi Party chief Mulayam Singh Yadav, who was also elected two seats in Uttar Pradesh, has quit from his pocket-borough Mainpuri and has retained Azamgarh.
Under rules, a member who has been elected from two Lok Sabha constituencies has to vacate one of the seats within 14 days of the declaration of result. With Lok Sabha results out on May 16, the deadline was to expire on Thursday.
Parliament sources said the resignation of the two leaders has been received and were under process.
The prime minister had won Vadodara with a near record margin of 5.7 lakh, which was the biggest in this Lok Sabha polls. The BJP has won all the 26 seats in Gujarat.
In Varanasi, Modi was challenged by the Aam Aadmi Party chief Arvind Kejriwal, whose entry into the fray had turned it into one of the most keenly watched battles of these elections. In the end, however, Modi's nearest challenger Kejriwal was swept away when he lost by more than 3.7 lakh votes.
Modi's retention of Varanasi seat indicates the importance the BJP attaches to the state, which will have assembly elections in 2017, as it wants to capture power there. It is also seen as a thanksgiving to a state which was quite crucial in the BJP's march to power at the Centre.
Modi's contest from Varanasi was scripted by his close aide Amit Shah, BJP general secretary in-charge of Uttar Pradesh as part of his strategy to ensure a big win for the party in the key state.
Apart from winning 71 seats, BJP also helped its ally Apna Dal win 2 seats.
On the day of the results, Modi had expressed his gratitude to the people of Vadodara for the huge win. "After filing my nomination, I could spend only 50 minutes with you but you gave me victory by 5.70 lakh margin. I have checked up and found that only P V Narasimha Rao had won by such a big margin and that was in a by-election. Mine has been recorded in a general election," he had said.
The Lok Sabha Speaker will process the resignations and after acceptance the vacancies will be intimated to the Election Commission so that by-elections can be held.
Image: Prime Minister Narendra Modi and Home Minister Rajnath Singh perform Ganga aarti is Varanasi. Senior BJP leader Amit Shah prays
Photograph: Sandeep Pal
PM Modi to ministers: Set a 100-day agenda
Exclusive! Modi-Sharif had one-on-one meeting without aides
Varanasi vignettes: Modi, Modi everywhere
Modi trounces Kejriwal by 3.37 lakh votes in Varanasi
It's my destiny to serve Maa Ganga: Modi tells Varanasi