LAS VEGAS — ‘King of the Blues’ legend B.B. King has died in Las Vegas at age 89, his attorney says.

Attorney Brent Bryson tells The Associated Press that King died peacefully in his sleep at 9:40 p.m. PDT Thursday at his home in Las Vegas.

The Rock and Roll Hall of Famer was considered one of the greatest guitarists of all time.

The one-time farmhand brought new fans to the blues and influenced a generation of musicians with his heartfelt vocals and soaring guitar on songs such as “The Thrill Is Gone.” His Gibson guitar, famously named Lucille, wailed in songs like “Every Day I Have the Blues” to “When Love Comes to Town.”

King sold millions of records worldwide and was inducted into the Blues Foundation Hall of Fame and the Rock and Roll Hall of Fame.

King was not only the undisputed king of the blues but a mentor to scores of guitarists including Eric Clapton.

He was awarded his 15th Grammy in 2009 in the traditional blues album category for “One Kind Favor.”

King had suffered for years from diabetes. Last year he canceled the second half of a concert tour, citing declining health.

The musician was hospitalized briefly on April 30, after his daughter called an ambulance saying that he was not eating and was dehydrated. A posting on his website the next day said that he was in hospice care at his home in Las Vegas.

“Mr. King is where he wishes to be,” Toney told the Associated Press on May 1, after B.B. King had returned from the hospital. “He’s always told me he doesn’t want to be in a hospital. He wants to be at home.”

Check back for updates.