A car bomb apparently targeting soldiers loyal to the internationally recognized Libyan government killed at least 22 people Tuesday and wounded more than 20 in Benghazi.
Military officials said the blast took place in the city's Guwarsha district.
A coalition of Islamic militants called the Shura Council of Benghazi Revolutionaries claimed responsibility.
Guwarsha district, in Benghazi, Libya
Forces loyal to the government in the east have been fighting against the militants for control of Benghazi since 2014.
Libya has been in political and economic turmoil since dictator Moammar Gadhafi was toppled and killed in 2011.
A U.N.-backed government was installed in Tripoli this year to replace an Islamic government that had seized the capital. But the administration headquartered in eastern Libya refuses to accept it.