Grateful Dead lyricist and political activist John Perry Barlow survived a heart attack on Wednesday. Barlow, who is best known for his work with Bob Weir, posted a tweet indicating that he “was dead for about 8 minutes on Wed eve.Total cardiac arrest.”

According to a series of tweets, Barlow—who also co-founded the Electronic Frontier Foundation—is currently recovering from the heart attack. Barlow’s contribution to the Dead canon includes songs like “Mexicali Blues,” “Cassidy,” “Estimated Prophet,” “The Music Never Stopped,” “Hell in a Bucket” and “Throwing Stones,” among others. Barlow also worked with Grateful Dead keyboardists Brent Mydland and Vince Welnick.