A deputy head of the National Security Service (NSS) overseeing Armenian border guards was sacked on Monday following the capture of an Azerbaijani soldier who crossed into Armenia and attacked members of a local family.