Ron Weasley used Wingardium Leviosa (Levitation Charm).
In Harry Potter and the Sorcerer's Stone (Ch. 10), Ron — recalling Hermione's pronunciation correction ("gar-VEE-oh-sa") — casts it on the troll's own club, lifting it high. The club drops, knocking the troll unconscious.
It marks Ron's first successful offensive spell and the trio's bonding moment.