Pete Frates, a former college baseball player whose participation in the social media phenomenon known as the Ice Bucket Challenge helped raise more than $100 million toward fighting amyotrophic lateral sclerosis, commonly known as A.L.S. or Lou Gehrig’s disease, died on Monday at his home in Beverly, Mass. He was 34.

His death was announced in a statement by Boston College, his alma mater. Quoting his family, it said he died “after a heroic battle with A.L.S.”

Mr. Frates learned he had the disease in 2012. A.L.S. attacks the body’s nerve cells and leads to full paralysis. Patients are typically expected to live for two to five years from the time of diagnosis.

Mr. Frates did not create the Ice Bucket Challenge, in which participants dumped buckets of ice water over their heads while pledging to donate money to fight A.L.S. But a Facebook video in July 2014 showing him doing his version of the challenge — in which he bobbed his head to Vanilla Ice’s song “Ice Ice Baby” — prompted a surge in participation that summer, to where it became a viral sensation.