“Beer For My Horses” singer-songwriter Toby Keith has died. He was 62.

Keith, who was battling stomach cancer, passed peacefully on Monday surrounded by his family, according to a statement posted on the country singer’s website. “He fought his fight with grace and courage,” the statement said. He was diagnosed in 2022.

Sometimes a polarizing figure in country music, the 6-foot-4 singer broke out in the country boom years of the 1990s, crafting an identity around his macho, pro-American swagger and writing songs that fans loved to hear. Over his career he publicly clashed with other celebrities and journalists and often pushed back against record executives who wanted to smooth his rough edges.

He was known for his overt patriotism on post 9/11 songs like “Courtesy of the Red, White and Blue,” and boisterous barroom tunes like “I Love This Bar” and “Red Solo Cup.” He had a powerful booming voice, a tongue-in-cheek sense of humor and range that carried love songs as well as drinking songs.

Among his 20 No. 1 Billboard hits were “How Do You Like Me Now?!,” “Should’ve Been a Cowboy,’.” “As Good As I Once Was,” “My List” and “Beer for My Horses,” a duet with Willie Nelson.

Keith worked as a roughneck in the oil fields of Oklahoma as a young man, then played semi-pro football before launching his career as a singer.

“I write about life, and I sing about life, and I don’t overanalyze things,” Keith told The Associated Press in 2001, following the success of his song “I’m Just Talking About Tonight.”

Keith often wore his politics on his sleeve, especially after the terrorist attacks on U.S. soil in 2001, and early on he said was a conservative Democrat, but later claimed he was an independent. He’s played at events for Presidents George W. Bush, Barack Obama and Donald Trump, the latter giving him a National Medal of the Arts in 2021. His songs and his blunt opinions sometimes caused him controversy, which he seemed to court.

His later hits included “Love Me If You Can,” “She Never Cried In Front of Me,” and “Red Solo Cup.” He was inducted into the Songwriters Hall of Fame in 2015.

He was honored by the performance rights organization BMI in November 2022 with the BMI Icon award, a few months after announcing his stomach cancer diagnosis.

“I always felt like that the songwriting was the most important part of this whole industry,” Keith told the crowd of fellow singers and writers.