Tori Kelly performs onstage during the 68th Annual Primetime Emmy Awards at Microsoft Theater on Sept. 18, 2016 in Los Angeles.

During an "in memoriam" segment that paid tribute to late television greats -- as well as a number of legendary musicians -- Tori Kelly played a gorgeous version of Leonard Cohen's "Hallelujah" at Sunday night's Emmy Awards.

Emmy Awards 2016: See the Full List of Winners

As Kelly strummed an acoustic guitar, photos of Merle Haggard, Natalie Cole, David Bowie, the Eagles' Glenn Frey and, finally, Prince flashed across the screen, alongside Gene Wilder, Garry Shandling, Anton Yelchin and more.

Watch Kelly perform below: