The Supreme Court on Tuesday ruled the Aam Aadmi Party's Kuldeep Kumar the lawful winner of last month's Chandigarh mayoral election, ending weeks of controversy after the Returning Officer, Anil Masih, deliberately invalidated and discarded eight votes in favour of the AAP leader.