 However, he was elected from Kapkot assembly constituency, and became the leader of the opposition of the Uttarakhand Legislative Assembly, till 2007.In the 2007 Assembly elections in Uttarakhand, he was elected again from Kapkot assembly constituency.However, despite the BJP's victory, Koshyari was deprived of the Chief Minister's post by his chief rival, Bhuwan Chandra Khanduri.