Follow KDKA-TV: Facebook | Twitter

WASHINGTON (AP) – The Senate has narrowly confirmed Mike Pompeo to be secretary of state on Thursday afternoon.

The outgoing CIA director secured support from 57 senators, with 42 voting no and one senator absent. It’s one of the slimmest margins for the job in recent history. Every past nominee since at least the Carter administration has received 85 or more yes votes, with the exception of Trump’s first secretary of state, Rex Tillerson. He got 56 yes votes.

Pompeo is a former Republican congressman from Kansas. He is expected to be sworn in almost immediately so he can begin serving as top diplomat.

Pompeo has been deeply engaged in the administration’s efforts on North Korea and recently traveled to Pyongyang.

(Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)