During the 2011 Libyan Civil War, Zliten was contested between forces loyal to Gaddafi, and opposition fighters who were trying to seize the strategically located city to allow them to advance to the capital, Tripoli. In mid-June 2011, the Zliten uprising by rebel fighters against the military garrison in the city was crushed. The town was on the front line by July as rebels from Misrata continued their attempts to take control of the town from the loyalists based there, during the Battle of the Misrata frontline. In mid-July 2011, Zliten was the site of a massive pro-Gaddafi rally when thousands of Gaddafi supporters gathered on the main square in the city to show their support to the Libyan leader.