UPA candidate Hamid Ansari was elected vice-president on Tuesday. The UPA got 490 votes, the NDA's candidate Jaswant Singh got 238. There were 8 invalid votes.