The AAP said the alliance with the Apna Dal was agreed upon in principle and that seat-sharing talks were underway. (File photo: PTI)

This election season is turning out to be a season of alliances.

On a day when the Samajwadi Party and the Bahujan Samaj Party (BSP) sealed an alliance for the Lok Sabha polls in Uttar Pradesh, the Aam Aadmi Party (AAP) also concluded a deal with the Apna Dal (Krishna Patel).

Announcing the alliance, AAP's Rajya Sabha MP Sanjay Singh said the alliance was agreed upon in principle and that seat-sharing talks were underway. Singh said the two parties would contest all Lok Sabha seats in the state.

Sources, however, tell India Today that AAP chief Arvind Kejriwal will not contest from Varanasi -- against Prime Minister Narendra Modi -- and is slated to focus solely on Delhi.

Vaibhav Maheshwari, AAP spokesman in Uttar Pradesh, said that talks had been going on for a long time with Apna Dal (Krishna Patel) and that the ideology of zero corruption and secularism had brought the two parties together.

"We both are against corruption and against communal forces," he added.

Apna Dal (Krishna Patel) is the faction of the party led by its founder Sone Lal Patel's widow. The other is Apna Dal (S) led by Anupriya Patel, who is a Minister of State in the Modi government.

Sone Lal Patel was a regional leader of the Patels who died in a car crash in 2009. The party was later split between his widow and elder daughter.

Apna Dal (S) later aligned with the BJP for the 2014 Lok Sabha polls winning two seats in UP, Mirzapur and Pratapgarh. It has nine legislators in the 403-member UP Assembly.

While Apna Dal (S) has been sparring with the BJP of late, accusing the latter of ignoring its party and cadre, its leaders have clarified that its alliance with the BJP was intact and would continue.

(With IANS inputs)