We evaluate the gluon and quark contributions to the spin of the proton using an ensemble of gauge configurations generated at physical pion mass. We compute all valence and sea quark contributions to high accuracy. We perform a nonperturbative renormalization for both quark and gluon matrix elements. We find that the contribution of the up, down, strange, and charm quarks to the proton intrinsic spin is 1 2 P q¼u;d;s;c ΔΣ q þ ¼ 0.191ð15Þ and to the total spin P q¼u;d;s;c J q þ ¼ 0.285ð45Þð10Þ. The gluon contribution to the spin is J g ¼ 0.187ð46Þð10Þ yielding J ¼ J q þ J g ¼ 0.473ð71Þð14Þ confirming the spin sum. The momentum fraction carried by quarks in the proton is found to be 0.618(60) and by gluons 0.427(92), the sum of which gives 1.045(118) confirming the momentum sum rule. All scale and scheme dependent quantities are given in the MS scheme at 2 GeV.