The product encoded by this gene is a serine proteinase inhibitor which rapidly inhibits thrombin in the presence of dermatan sulfate or heparin. The gene contains five exons and four introns. This protein shares homology with antithrombin III and other members of the alpha 1-antitrypsin superfamily. Mutations in this gene are associated with heparin cofactor II deficiency. [provided by RefSeq]