Conversation so far:
in what month was the election?
In may
what position did Narendra Modi run for in the election?
Prime Minister
what political party was Narendra Modi in?
the BJP
did Narendra Modi win the election?
He was again sworn in as Prime minister on 30 May 2019. On 30 July 2019
how many votes did Narenda Modi get?
6,74,664 votes
who was Narendra Modi opponent?
Aam Aadmi Party leader Arvind Kejriwal

Question: for how long was he prime minister?
Self-contained rewrite: for how long was Narendra Modi prime minister?