Photos of the Bahamas' immigration minister embracing Anna Nicole Smith forced the official to resign amid speculation the Playboy Playmate received special treatment when applying for permanent residency on the island nation.

Photos recently appeared in a Bahamas newspaper showing Immigration Minister Shane Gibson on a bed with Smith — both fully clothed — and embracing her.

"I want to apologize to all persons who may in any way have been offended by anything that I have said, done, or perceived to have said or done," Gibson said on state TV Sunday night. "To the extent that my beloved country has in any way suffered ... I want to apologize to the Bahamian people as a whole."

However, Gibson, who fast-tracked Smith's application for residency, denied any wrongdoing and said he did not have a sexual relationship with Smith.

Smith died on Feb. 8 in Hollywood, Fla. She had based her residency application upon her claimed ownership of a waterfront mansion in the Bahamas. However, the ownership of the property is disputed.

Prime Minister Perry Christie said he had accepted Gibbon's resignation.

"However sad Shane's decision to resign may be, I also believe, as does he, that it is the correct course of action for him to take in all of the circumstances," the prime minister said on TV.

Gibson stated emphatically during a special broadcast on the national television station that although he was stepping down, he was not admitting to any of the allegations against him, calling them "vicious and wicked lies."

"I unconditionally deny that I ever abused my ministerial office by granting Anna Nicole Smith any permit of which she was undeserving or for which she was not qualified under the laws of the Bahamas," he said.

The Tribune of Nassau on Feb. 12 published two photos on its front page showing Smith and Gibson embracing on a bed decorated with pink flowers and a white ribbon. The newspaper said the photographs were taken in Smith's bedroom and that it obtained the pictures from an unidentified source.

G. Ben Thompson, a South Carolina developer who once dated Smith, has said he had not given Smith the Bahamas house as a gift as her lawyers have asserted. Thompson is attempting to reclaim the $900,000 waterfront mansion.

Howard K. Stern, Smith's companion, has been living in the house with her daughter, Dannielynn, who was born in September in a Bahamas hospital.

Days after the baby was born, Smith's 20-year-old son Daniel Smith died under mysterious circumstances in a Bahamas hospital room while visiting his mother. A coroner hired by Smith's family said Daniel died from a lethal combination of drugs, including methadone. An inquest into his death is scheduled to begin here on March 27.

Several men claim to have fathered the baby girl, who could potentially inherit a multimillion-dollar fortune. Since the death in 1995 of her 90-year-old husband, Texas oil tycoon J. Howard Marshall II, Smith had been waging a court battle over his estate.

A birth certificate lists Stern as the girl's father. But Smith's former boyfriend Larry Birkhead has gone to court in Florida in pursuit of DNA testing to prove he is the father. And Prince Frederic von Anhalt, the husband of the actress Zsa Zsa Gabor, has said he had a decade-long affair with Smith and will file his own paternity challenge.