"I think hip-hop had a role in making sure we elected a black president in America because we made it so that black people were in people's homes ... through our music and through our culture," the R&B crooner said Sunday night at the Hip-Hop Inaugural Ball.
"I think it made Barack Obama and more people like him possible, so I'm really thankful for hip-hop and the role it plays in society," he continued.
Legend was awarded the humanitarian award at Sunday's event, and it was one of many honors handed out at the Harman Center for Arts.
Rapper Yo Yo earned a roaring cheer when she hit the stage to honor MC Lyte; Lil Mama also paid tribute to the "Ruffneck" rapper.
2 Chainz, who had a breakthrough year with his Grammy-nominated solo debut and multiple rap hits, earned the street soldier award for encouraging young voters as a spokesperson for the Hip-Hop Caucus' "Respect My Vote!" campaign.
Actress Rosario Dawson won the vanguard award for her work as chairman of the Voto Latino organization.
"It's time to step out of the shadows. It's time to not just be talked about by other people, it's time to take the leadership ourselves and that first step of leadership is voting," Dawson said of the importance of the Latino vote.
Rappers Swizz Beatz and Meek Mill also earned honors at the event, attended by a few hundred hip-hop fans, including model Tyson Beckford, former NBA star Dikembe Mutumbo and Victor Cruz of the New York Giants. La La Anthony and Terrence J hosted the ball.
"I got a call from the president and he asked me to perform his favorite song," she said before singing the R&B jam "Hope She Cheats on You (With a Basketball Player)."
Then she sang "Butterflies," a song she co-wrote for Michael Jackson's 2001 "Invincible" album.
"This might have been his favorite," she said