Part of the brainstem, the medulla is the connection between the brain and the spinal cord. It controls involuntary actions like breathing, swallowing, and heartbeat.
Regulation of heart rhythm occurs in:
nerves
cerebrum
medulla
cerebellum