(CNN) -

Anthony Foxx, the mayor of Charlotte, N.C., has been unanimously confirmed by the Senate to be transportation secretary, The Associated Press reported.

He replaces Ray LaHood, who said in January he wouldn't serve a second term.

The transportation secretary is responsible for overseeing the nation's roads, airports and railways.

Foxx, first elected mayor in 2009, helped lead last summer's Democratic National Convention in the Queen City. He also championed the completion of an additional runway at the Charlotte/Douglas International Airport, though Foxx doesn't have any specific experience as a transportation executive.

Earlier this month, Foxx announced he wouldn't seek re-election at Charlotte's mayor.

Faces of Obama's cabinet

POSTED: 1:23 PM Mar 18 2013   UPDATED: 9:29 AM Nov 07 2014

Loretta Lynch, the U.S. attorney in Brooklyn, is expected to be President Barack Obama's pick for attorney general, U.S. officials briefed on the matter told CNN. Take a look at other faces in President Barack Obama's Cabinet.

Loretta Lynch
1 / 24

Loretta Lynch, the U.S. attorney in Brooklyn, is expected to be President Barack Obama's pick for attorney general, U.S. officials briefed on the matter told CNN. Lynch would succeed Attorney General Eric Holder, who announced his resignation in September. Take a look at other faces in President Barack Obama's Cabinet.