LONDON — Sean Connery, the charismatic Scottish actor who rose to international superstardom as suave, fearless secret agent James Bond and then abandoned the role to carve out an equally successful, Oscar-winning career playing a variety of leading and character roles, has died. He was 90.

Connery’s wife and two sons said he “died peacefully in his sleep surrounded by family” in the Bahamas, where he lived. Son Jason Connery said his father had been “unwell for some time.”

Bond producers EON Productions confirmed his death. Producers Michael G. Wilson and Barbara Broccoli said they were “devastated” by the news.

“He was and shall always be remembered as the original James Bond whose indelible entrance into cinema history began when he announced those unforgettable words — ‘The name’s Bond ... James Bond,’” they said in a statement Saturday.

The producers said Connery’s “gritty and witty portrayal of the sexy and charismatic secret agent” was largely responsible for the success of the series.

Daniel Craig, the current Bond, said Connery “defined an era and a style” and that the “wit and charm he portrayed on screen could be measured in mega watts.”

“A sad day for all who knew and loved my dad and a sad loss for all people around the world who enjoyed the wonderful gift he had as an actor,” Jason Connery told the BBC.

Scottish First Minister Nicola Sturgeon said she was “heartbroken” at the news.

“Our nation today mourns one of her best loved sons,” she said.

A commanding screen presence for some 40 years, Connery was in his early 30s and little known when he starred in the first Bond thriller, 1962′s “Dr. No,” based on the Ian Fleming novel.

Condemned as immoral by the Vatican and the Kremlin, but screened at the White House for Bond fan John F. Kennedy, “Dr. No” was a box office hit and helped Bond become a franchise that long outlasted its Cold War origins.

For decades, with actors from Connery to Craig in the leading role, filmgoers have loved the outrageous stunts, vicious villains and likable, roguish hero who enjoyed a life of carousing, fast cars, gadgety weapons, elegant clothes and vodka martinis (always shaken, not stirred).

For many, Connery was the definitive James Bonds, his character’s introduction among the most famous in movie history. He is seated at the blackjack table of an upscale casino, seen first from the side and the back. After he wins a couple of hands against a glamorous young woman, she asks for more money to gamble. “I admire your courage, Miss, uh ...” we hear him tell her as the camera shows his hands removing a cigarette from a slender case. She introduces herself as “Trench, Sylvia Trench,” tells him she admires his luck and asks his name. His reply remains a catchphrase decades later. “Bond,” he says, his face finally revealed as he lights a cigarette. “James Bond.”

United Artists couldn’t wait to make more Bond movies, with ever more elaborate stunts and gadgets, along with more exotic locales and more prominent co-stars, among them Lotte Lenya and Jill St. John.

Connery continued as Bond in “From Russia With Love,” “Goldfinger,” “Thunderball,” “You Only Live Twice” and “Diamonds Are Forever,” often performing his own stunts.

“Diamonds Are Forever” came out in 1971 and by then Connery had grown weary of playing 007 and feared he wasn’t being taken seriously despite his dramatic performances in Alfred Hitchcock’s “Marnie” and Sidney Lumet’s “The Hill.”

“I’d been an actor since I was 25, but the image the press put out was that I just fell into this tuxedo and started mixing vodka martinis,” he once complained.

When he walked away at age 41, Hollywood insiders predicted Connery would soon be washed up. Who would hire a balding, middle-aged actor with a funny accent?

Connery fooled them all, playing a wide range of characters and proving equally adept at comedy, adventure or drama. And age only heightened the appeal of his dark stare and rugged brogue; he set a celebrity record of sorts when at age 59 he was named People magazine’s “Sexiest Man Alive.”

He won the affection of fans of the “Indiana Jones” franchise when he played Indy’s father opposite Harrison Ford in the third picture, 1989′s “Indiana Jones and the Last Crusade.” He turned in a poignant portrayal of an aging Robin Hood opposite Audrey Hepburn in “Robin and Marian” in 1976 and, 15 years later, was King Richard to Kevin Costner’s Robin Hood in “Robin Hood: Prince of Thieves.”

He was the lovable English con man who joined Michael Caine in swindling tribal people everywhere in “The Man Who Would Be King” and the bold Russian submarine commander in “The Hunt for Red October.”

He delivered a charming performance as a reclusive writer who mentors a teenage prodigy in 2000′s “Finding Forrester.”

He won his Oscar for supporting actor in 1987 for his portrayal of a tough Chicago cop who joins Elliot Ness' crime-fighters in "The Untouchables.

By then he was at peace with James Bond, and when he arrived onstage at the Oscar ceremony he declared, “The name’s Connery. Sean Connery.”

He kept his promise not to play Bond again until 1983, when he was lured back by an offbeat script about a middle-aged 007. Based on the only Fleming story that hadn’t been nailed down by the film empire Broccoli and Saltzman created, Connery took the role and helped produce the film. The result was “Never Say Never Again,” a title suggested by his wife, Micheline Roquebrune.

Even as the 007 films made him a millionaire, Connery tried often to separate his own personality from that of Bond. “I’m obviously not Bond,” he once said. “And Bond is obviously not a human being. Fleming invented him after the war, when people were hungry for luxury, gourmet touches, exotic settings. Those were the things the English loved to read about following the privations of the war.”

The “real” Sean Connery had a troubled first marriage and a history of comments justifying domestic violence. In 1962, he married Diane Cilento, an actress best known for her role as Molly in “Tom Jones.” They had a son, Jason, who also became an actor, but the union proved tempestuous and ended in 1974.

Its impact lasted long after. Cilento would allege that he had physically abused her and Connery defended his behavior in interviews. In 1965, he told Playboy magazine that he did not find “anything particularly wrong about hitting a woman — although I don’t recommend doing it in the same way that you’d hit a man. An openhanded slap is justified — if all other alternatives fail and there has been plenty of warning.”

When Barbara Walter brought up those remarks in a 1987 interview, he said his opinion hadn’t changed because “sometimes women just won’t leave things alone.”

Connery was widely criticized, but still received numerous honors, including being chosen as commander (the same rank as Bond) of France’s Order of Arts and Literature and a Kennedy Center honoree in 1999. The following year Queen Elizabeth II proclaimed him a British knight.

In 2005 he was chosen for a lifetime achievement award by the American Film Institute. Thomas Sean Connery was born Aug. 25, 1930, in Edinburgh, Scotland, the first of two sons of a long-distance truck driver and a domestic worker.

He left school at age 13 during World War II to help support his family.

“I was a milkman, laborer, steel bender, cement mixer— virtually anything,” he once said.

Weary of day labor, he joined the British navy and was medically discharged after three years. The ailment: stomach ulcers.

Back in Edinburgh, he lifted weights to build his body and compete in the Mr. Universe contest. He came in third, and briefly considered becoming a professional soccer player, but chose acting because he reasoned his career would last longer.

He got his first big break singing and dancing to “There is Nothing Like a Dame” in “South Pacific” on the London stage and in a road production before going on to act in repertory, television and B movies. He went to Hollywood for two early films, Disney’s “Darby O’Gill and the Little People” and “Tarzan’s Greatest Adventure.”

When he decided to become an actor, he was told that Thomas Sean Connery wouldn’t fit on a theater marquee so he dropped his first name.

Then came the audition that changed his life. American producers Albert “Cubby” Broccoli and Harry Saltzman had bought the film rights to a string of post-World War II spy adventure novels by Fleming. Connery was not their first choice for “Dr. No.”

The producers had looked to Cary Grant, but decided they wanted an actor would commit to a series. The producers also realized they couldn’t afford a big-name star because United Artists had limited their film budget to $1 million a picture, so they started interviewing more obscure British performers.

Among them was the 6-foot-2 Connery. Without a screen test, Broccoli and Saltzman chose the actor, citing his “dark, cruel good looks,” a perfect match for the way Fleming described Bond. When Connery started earning big money, he established his base at a villa in Marbella on the Spanish coast.

He described it as “my sanitarium, where I recover from the madness of the film world.” It also helped him avoid the overwhelming income tax he would have paid had he remained a resident of Britain.

As his acting roles diminished when he reached his 70s, Connery spent much of his time at his tax-free home at Lynford Cay in the Bahamas. He played golf almost every morning, often with his wife. He announced in 2007 that he had retired when he turned down the chance to appear in another “Indiana Jones” movie.

“I thought long and hard about it, and if anything could have pulled me out of retirement it would have been an `Indiana Jones' film,” he said.

“But in the end, retirement is just too damned much fun.”

AP’s Bob Thomas contributed from Los Angeles.