Complex sentence: In the 2004 Lok Sabha elections, he contested elections from two places, when he got elected from Nalanda but lost from his traditional constituency, Barh.
Split into simpler sentences: In the 2004 Lok Sabha elections he contested elections from two constituencies, Barh and Nalanda. He was elected from Nalanda but lost from his traditional constituency, Barh.