"I am not in the race for prime ministership....I was also not in the race of becoming chief minister, but situation gave me the post. It all depends on it (situation)," he told reporters when asked whether he was vying for the post of the prime minister in 2014 when Lok Sabha polls are due.
Yadav and former UP and Uttarakhand Chief Minister Narain Dutt Tiwari were addressing the media at the SP chief's residence at 5 Vikramaditya Marg in Lucknow.
On chances of his joining Samajwadi Party and contesting the general elections, Tiwari said that he was a Samajwadi since he followed the ideology of "samajwad" (socialism).
He, however, ruled out the possibility of contesting elections citing his age.
"I am 88 years...The elections are to be held in 2014...I will not be contesting it," he said.
Asked about his viewpoint on FDI in multi-brand retail, Tiwari said it was in the interest of country and the need of the hour was to attract foreign investment.
Tiwari, however, said that he would not try to impose his view on SP on supporting FDI. He said Uttar Pradesh needed investment for development and the SP supremo would do whatever was in the interest of the country.
Yadav, when asked about the issue, said his party would participate in the debate on FDI in Parliament on December 4.
About SP's stand on voting on FDI in Parliament, Yadav said that party's Parliamentary Board would decide on it.
Tiwari, when asked whether he was disillusioned with Congress, said, "Such questions should not be asked."
To a question on Rahul Gandhi becoming prime minister in the future, Tiwari said, "Time will tell what will happen."