DALLAS — Jim Leavelle, the longtime Dallas lawman who was captured in one of history's most iconic photographs as he escorted President John F. Kennedy's assassin moments before he was fatally shot, has died. He was 99.

Leavelle, distinctive in his light-colored suit and white Stetson, is seen in the photograph with his hand on Lee Harvey Oswald, Leavelle's body stiffening as nightclub owner Jack Ruby shot the handcuffed presidential assassin at close range on live TV in 1963. Leavelle appears shocked as Oswald grimaces in pain.

Leavelle's daughter, Tanya Evers, told The Associated Press her father died Thursday while visiting her sister in Colorado. He fell earlier this week and broke his hip, requiring surgery at a Denver hospital, Evers said Friday. He responded well to the surgery, she said, but then later suffered a heart attack.

In the decades after the assassination, Leavelle regularly spoke at schools and before various groups because he believed "he had a responsibility to share his story," said Evers, who lives in San Antonio.

Her father through the decades received mail nearly every day from people asking questions about the assassination or invoking any one of several conspiracy theories, she said.

"He really felt a need to address the theories," Evers said. "He wanted to make sure that people knew there was no conspiracy and that one misguided person could take a shot at a president and succeed."

Leavelle joined the Dallas police force in 1950 and retired from active service in 1975. He was among the lead detectives assigned to investigate Kennedy's Nov. 22, 1963, assassination.

In 2013, Dallas police commanders honored Leavelle with the Police Commendation Award and announced the department's Detective of the Year Award would be named for him. In accepting the honor, Leavelle said he was thinking of other deserving officers, including J.D. Tippit, who was shot and killed by Oswald when Tippit stopped Oswald to question him some 45 minutes after Kennedy's assassination.

In comments after that presentation, Leavelle said that when he saw an armed Ruby approach in the basement of Dallas police headquarters, he tried unsuccessfully to jerk Oswald behind him to shield him from harm.

"Him being real close all I did was turn his body so instead of the bullet hitting him dead center it hit about 3 or 4 inches to the left of the navel," Leavelle said.

The photo that captured the attack won a Pulitzer Prize.

Associated Press reporter Jamie Stengle contributed to this report.