A beloved American teacher was shot dead in the Libyan city of Benghazi on Thursday, just days before he was supposed to return to the U.S. for the holidays, the school's principal said.
Ronnie Smith, 33, had been teaching chemistry at the International School Benghazi for about 18 months and was "very much loved," principal Peter Hodge told NBC News.
“He was the most amazing person, more like a best friend or a family member," said an 18-year-old student at the school.
"After everything that happened in Libya, we were losing hope and he was the only one who was supporting us, motivating us, telling us that as long as we studied everything would be okay. He was the silver lining.
“He dedicated so much of his time for all his students,” she added. “He chose to come here and help us and risk his life.
Security official Ibrahim al-Sharaa told The Associated Press that the victim was jogging near the U.S. Consulate at the time of the shooting. NBC News was unable to independently confirm that account.
"We are following events closely and at this point no individual or group has claimed responsibility," White House spokesman Jay Carney said.
"We look to the Libyan government to thoroughly investigate this killing," he said.
Benghazi, Libya’s second-largest city, became a political flashpoint following a Sept. 11, 2012 attack targeting the U.S. Consulate which left Ambassador Chris Stevens and three other Americans dead. A hardline Islamist group known as Ansar al-Shariah has been blamed.
Two years after the NATO-backed uprising that ousted Moammar Gadhafi, Libya is still in messy transition, with no new constitution, a temporary government and nascent security forces struggling to contain militias and former rebels.
In October, Islamist militants called for the kidnapping of U.S. citizens in Libya and targeted attacks on American property following araid by U.S. special forces to seize a suspected al Qaeda leader from his home in Tripoli.
Smith's wife, Anita, had returned to the U.S. with their young son several weeks ago. Relatives in Michigan said they had just been notified about his death and were too upset to speak.
Smith got a master's degree in chemistry in 2006 from the University of Texas, which called him an "enthusiastic and outgoing student." He worked at the Austin Stone Community Church before going to Libya.
"Ronnie and his family moved to Benghazi to teach high school chemistry and to be a blessing to the Libyan people," the church said in a statement.
"Ronnie loved Libya and was dedicated to his students to help them aspire to their dreams. Ronnie’s greatest desire was for peace and prosperity in Libya and for the people of Libya to have the joy of knowing God through Christ."
Student Lujain Beruwien, 16, said Smith had helped her get settled in Benghazi when her Libyan parents moved back from Scotland.
“Because I’m from the U.K. and he’s from America we were always trying to outdo each other," she said. "It’s really upsetting that he has died. The majority of Libyans want the country to develop but the others are just trying to ruin things for everyone. We’re not going to stand for this.”
Adel Mansour, a former principal at the school who is currently head of its board of governors, described Smith as a "great guy."
"He loved being in Benghazi and he loved Libya and the kindness of its people,” Mansour told NBC News. "He was looking forward to going back and being with his family [to the U.S. for Christmas] but unfortunately now that's not going to happen."
State Department spokeswoman Marie Harf said consular officials were in touch with Smith's family and with Libyan authorities.
She said a severe travel warning for Benghazi had been in effect since June because of the "instability and violence" there.
Last week, Libya's army clashed with militants in Benghazi, where Islamists run their own checkpoints in the port city and assassinations and bombings happen regularly.
At least nine people died when fighting broke out between army special forces and members of Ansar al-Shariah.
Oil workers, civil servants and private sector staff later went on a three-day strike in the port city, protesting against the deteriorating security situation.
The mass walkout was the latest sign of growing anger against the militias who helped oust Gadhafi. Most groups have kept their weapons and regularly challenge the fragile new government and its security forces.
Most countries have closed their consulates in Benghazi after a series of attacks and some foreign airlines have stopped flying there.
In the wake of recent clashes in Tripoli which left more than 40 people dead, Secretary of State John Kerry last month urged Libyans to "break the cycle of violence through respectful dialogue and reconciliation."
He added: "Too much blood has been spilled and too many lives sacrificed to go backwards."
NBC News' David Wyllie and Tracy Connor, Reuters and The Associated Press contributed to this report.