Follow KDKA-TV: Facebook | Twitter

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

READ MORE: Pennsylvania Department Of Health To Text People Who Missed 2nd Vaccine Shot

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.

READ MORE: After Pleas For His Release Fail, Terminally-Ill Washington County Man Dies Awaiting Trial

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.

MORE NEWS: Senate Moves Ahead On Bipartisan Infrastructure Bill

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