The ruling Congress Party-led alliance won 261 seats in the 543-member parliament , while its main rival , the opposition Bharatiya Janata Party , only won 159 seats .