Suppose that F is a global field, K is a normal extension of F, and L is an abelian extension of K. Then the Galois group Gal(L/F) is an extension of the group Gal(K/F) by the abelian group Gal(L/K), and this extension corresponds to an element of the cohomology group H2(Gal(K/F), Gal(L/K)). On the other hand, class field theory gives a fundamental class in H2(Gal(K/F),IK) and a reciprocity law map from IK to Gal(L/K). The Shafarevich–Weil theorem states that the class of the extension Gal(L/F) is the image of the fundamental class under the homomorphism of cohomology groups induced by the reciprocity law map (Artin & Tate 2009, p.246).
Shafarevich stated his theorem for local fields in terms of division algebras rather than the fundamental class (Weil 1967). In this case, with L the maximal abelian extension of K, the extension Gal(L/F) corresponds under the reciprocity map to the normalizer of K in a division algebra of degree [K:F] over F, and Shafarevich's theorem states that the Hasse invariant of this division algebra is 1/[K:F]. The relation to the previous version of the theorem is that division algebras correspond to elements of a second cohomology group (the Brauer group) and under this correspondence the division algebra with Hasse invariant 1/[K:F] corresponds to the fundamental class.
Shafarevich, I. R. (1946), "On Galois groups of p-adic fields.", C. R. (Doklady) Acad. Sci. URSS, New Series, 53: 15–16, MR0018170 Reprinted in his collected works, pages 4–5
Weil, André (1967), "Appendix III:Shafarevitch's theorem", Basic number theory., Die Grundlehren der mathematischen Wissenschaften, vol. 144, Springer-Verlag New York, Inc., New York, pp. 301–307, ISBN3-540-58655-5, MR0234930