The Bharatiya Janata Party-led National Democratic Alliance secured its first-ever win in the Thiruvananthapuram corporation.