NC's Pandey elected to National Assembly