Washington (CNN) -- Four U.S. military personnel are being held by the Libyan government, a senior U.S. Defense Department official told CNN on Friday.
The four are believed to be held by the ministry of the interior, the official, with knowledge of the situation, said on condition of anonymity.
It was not immediately known why the American personnel were in Libyan custody. "We are seeking to further ascertain the facts and ensure their release," the official said.
The four were in Libya "augmenting security at the U.S. Embassy in Tripoli," the official said.
A second person -- a senior U.S. official -- also told CNN that the four military personnel had been detained. That official also spoke on condition of anonymity.
The news of the detentions follows an announcement by the United States last month that it was stepping up military support for Libya's fledgling security forces, who have been overwhelmed by militia violence and unrest since the overthrow of dictator Moammar Gadhafi.
Popular sentiment against the various militias has been mounting for months in Tripoli and other parts of the country, including the eastern city of Benghazi, which has been gripped by increasing violence, including political assassinations.
The chaos in Libya hit home for Americans after U.S. Ambassador Chris Stevens and three other Americans were killed on September 11, 2012, in an attack on the U.S. diplomatic mission in Benghazi.
The United States has offered a reward of up to $10 million for information leading to the arrest of anyone involved in that attack. While U.S. authorities have filed charges in the case, no one has been arrested.
A NATO air campaign helped overthrow Gadhafi two years ago, but ever since there has been widespread unrest and poor security.
The detention of the four personnel also follows reports of a U.S. military operation in October that saw members of the elite Army Delta Force launch a raid in Tripoli to capture Abu Anas al Libi, an al Qaeda operative wanted for his alleged role in the deadly 1998 bombings of two U.S. embassies in Africa.
Libya's interim government called the capture a kidnapping and demanded an explanation from Washington about the raid.
Check out some of our most read stories from 2013:
#shortyellows: Florida quietly shortened yellow lights
Terrorism Warning: Memo says terrorists practicing dry-runs on Florida flights
Kittens shot: Officer shoots kittens in front of children
Courtroom apology: Woman apologizes for flipping off judge
Weird ice: Strange, giant circles appear on frozen pond
Controversial Club: College student organizes "White Student Union"
CFO Trouble: School administrative chief in trouble over her porn sex blog
Warning Shot Wife: Mother gets 20 years for firing warning shots at abusive husband
Science Arrest: Teen girl arrested over science project explosion
Wait, WHAT?? Dog shoots man in the leg with a handgun
Popular photo galleries:
Faces of Meth: Devastating before and after photos of meth abusers
Trayvon Martin Shooting: Trayvon Martin crime scene photos and George Zimmerman injury photos
Hooters Winners: Winners of the 2013 Hooters swimsuit pageant
Rejected: Funny Florida license plates rejected by the DMV***warning graphic***
Deadly sinkhole: Home collapses, man dies in giant sinkhole
Florida Sex Offenders: Look up sex offenders in any Florida neighborhood here
Restaurant Inspections: Look up inspection reports for any Florida restaurant here
Barbara Starr and Chelsea J. Carter, CNN