For anyone who thinks beer can qualify as a meal, we have some non-scientific evidence to support your claim: it’s shaped like ravioli, it tastes like a soft pretzel, and it’s filled with warm, yeasty deliciousness.

It’s deep-fried beer.

The story behind this culinary triumph began more than 10 years ago at a bar in Texas, where Mark Zable and his wife were scanning another uninspired menu with the same few finger foods. Zable made an offhand comment about how the bar should offer fried beer, and the couple realized it wasn’t such a bad idea—especially for the state fair.

Zable, a corporate recruiter by day, was no stranger to fair fare. As he told NPR, his father had opened a Belgian waffle stand at Texas’s state fair in the 1960s, and Zable himself assumed control after about 30 years. He experimented with new items to enter into the Big Tex Choice Awards food competition—sweet jalapeño corn dog shrimp and chocolate-covered strawberry waffle balls were two of his innovations—but nothing had won him a prize … yet.

Though the concept of fried beer was wacky enough to show real promise, execution proved difficult. Dropping liquid into a deep-fryer is a good way to get splattered with boiling oil, and Zable spent more than two years trying to devise an edible vessel that could both contain the beer and protect the chef. Finally, his 4-year-old son inspired a new angle, and Zable landed on a flawless design. Though Zable’s been tight-lipped on the details of that recipe, the Toronto Star reports that it’s essentially soft pretzel dough pressed into a ravioli-like pocket, filled with Guinness, and plopped into the deep-fryer for 15 to 20 seconds.

“It tastes great,” Zable told NPR. “Tastes just like eating a pretzel with a beer.”

Actual deep-fried beer from the 2010 State Fair of Texas.David Berkowitz, Flickr // CC BY 2.0

At last, Zable’s ambitious creation was ready for its debut at Texas’s 2010 state fair. He faced some tough competition at the Big Tex Choice Awards—including fried frozen margaritas, fried lemonade, and fried club salad—but even the other edible beverages were no match for Zable’s savory fusion of beer and bread. He took home the award for “Most Creative,” while “Texas Fried Fritos Pie” clinched “Best Taste.” Together, they’re a match made in state fair heaven.

[h/t NPR]