WASHINGTON (AP) - The Senate has narrowly voted to confirm John B. King Jr. as the nation's education secretary.

WASHINGTON (AP) The Senate has narrowly voted to confirm John B. King Jr. as the nation's education secretary.

The vote was 49-40.

King has served as acting secretary at the Education Department since Arne Duncan stepped down in December. President Barack Obama nominated King last month, saying there was "nobody better" to continue leading efforts to work toward preschool for all, preparing kids so that they are ready for college and careers and making college more affordable.

As secretary, King will oversee the department as it puts in place a bipartisan education law passed by Congress and signed by Obama in December. The measure revamps the widely criticized No Child Left Behind Act and substantially limits the federal government's role in public schools.