(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

Published On: Mar 18 2013 02:23:01 PM CDT   Updated On: Apr 23 2015 01:10:50 PM CDT

After more than five months -- the longest wait for an attorney general nominee since the Reagan administration -- the Senate put Loretta Lynch in charge of the Justice Department. She's the first African-American woman to serve as attorney general. Click through to see more faces of Obama's cabinet.

Loretta Lynch
1 / 24

After more than five months -- the longest wait for an attorney general nominee since the Reagan administration -- the Senate put Loretta Lynch in charge of the Justice Department. She's the first African-American woman to serve as attorney general. Lynch succeeds Eric Holder, who announced his resignation in September. Click through to see more of Obama's cabinet.