The electromagnetic force of repulsion between positive protons in the nucleus is overcome by the strong nuclear force between protons and neutrons. This force holds the nucleus together. The weak nuclear force changes subatomic particles from one type to another.