Bangkok, Thailand (CNN) -- Anti-government protesters who have been blocking off central Bangkok appear to have reached a deal with the government, their leaders told demonstrators Tuesday.
Leaders of the protest movement told supporters they are prepared to accept a five-point deal being offered by the government, including a call for new elections in November.
But they will not end their demonstrations until the prime minister announces when he will dissolve parliament, they said.
The crowd erupted in a roar of approval when their leaders told them of the deal, which seems to remove the threat of a violent crackdown on the protesters.
Are you in Thailand? Share your images, video
Thousands of anti-government protesters have brought the center of Thailand's capital to a standstill for weeks as they seek to unseat Prime Minister Abhisit Vejjajiva's government, which they say is illegitimate and undemocratic -- accusations Abhisit has called "unfounded."
iReport: Behind Red Shirt lines
The demonstrators -- known as "Red Shirts" because of their clothing -- support Thaksin Shinawatra, who was prime minister from 2001 to 2006, before he was ousted in a bloodless coup.
Explainer: What are the protests about?
More than two dozen civilians and military personnel have died since protesters began occupying key tourism and shopping areas in Thailand's capital.
Thai security forces fired on crowds of anti-government protesters just outside Bangkok last week as tensions flared in the latest round of confrontations between the two groups.
The Erawan rescue agency said eight protesters were injured in the clashes. One soldier was killed by friendly fire, police said.
Riot police and government troops had massed along a major highway to stop the progress of an anti-government convoy headed toward a location where demonstrators have gathered in the past.
The British and United States governments have issued warnings to their citizens about travel to Thailand in light of the protests.
--CNN's Dan Rivers and Kocha Olarn contributed to this report.