F.N.B. Corp. in Pittsburgh has recruited an executive from the recently sold FirstMerit Bank to spearhead its data security efforts.

The $21 billion-asset F.N.B. named Scot Pflug chief information security officer on Thursday. Pflug will oversee compliance, incident-response protocols and employee awareness and training programs related to data security, the company said in a press release.

Pflug will also work with other F.N.B. departments as a consultant to manage information security risk.

Pflug had been the chief information security officer at FirstMerit Bank in Akron, Ohio, since 2013. He joined FirstMerit in 2011 as vice president and senior IT internal audit manager, according to his LinkedIn profile. Huntington Bancshares in Columbus, Ohio, bought FirstMerit for $3.4 billion in August.

F.N.B. in July agreed to buy the $7.5 billion-asset Yadkin Financial in Raleigh, N.C., for $1.4 billion. The hiring of Pflug is part of F.N.B.'s effort "to build out [its] risk management infrastructure commensurate with a larger organization," Chief Executive Vincent Delie Jr. said in the release.