The French President, Emmanuel Macron, has declared the country's state of emergency will end tomorrow on 1 November, almost two years after the 2015 Paris attacks.

Mr Macron formally signed a sweeping counterterrorism law to replace the state of emergency, which is meant to give police more tools to fight violent extremism.

The bill was adopted by a large majority at parliament earlier this month.

Paris attacks suspect caught

The law gives enforcement agencies greater authority to conduct searches, to close religious facilities and to restrict the movements of people suspected of extremist ties.

Mr Macron stressed that it will allow authorities to establish areas with extra security measures, such as during Christmas markets.

The state of emergency was first imposed in November 2015 after the Paris terror attacks which killed 130 people.

It has been extended six times since then.

In pictures: Paris attacks Show all 25 1 /25 In pictures: Paris attacks In pictures: Paris attacks Paris attacks French police with protective shields walk in line near the Bataclan concert hall Reuters In pictures: Paris attacks Paris attacks Rescuers evacuate an injured person on Boulevard des Filles du Calvaire AFP In pictures: Paris attacks Paris attacks French Vigipirate troops mobilize next to Place de la Bastille AFP In pictures: Paris attacks Paris attacks French soldiers mobilize near to the Place de la Bastille AFP In pictures: Paris attacks Paris attacks Wounded people are evacuated outside the scene of a hostage situation at the Bataclan theatre EPA In pictures: Paris attacks Paris attacks People react as they gather to watch the scene near the Bataclan concert hall Reuters In pictures: Paris attacks Paris attacks French police secure the area outside a cafe near the Bataclan concert hall Reuters In pictures: Paris attacks Paris attacks Rescuers workers evacuate victims near the Bataclan concert hall AFP In pictures: Paris attacks Paris attacks French Prime Minister Manuel Valls and French President Francois Hollande attending an emergency meeting at the Interior Ministry AFP In pictures: Paris attacks Paris attacks Spectators invade the pitch of the Stade de France after explosions were heard outside AP In pictures: Paris attacks Paris attacks A man lies on the ground as French police check his identity near the Bataclan concert hall Reuters In pictures: Paris attacks Paris attacks Police officers man a position close to the Bataclan theatre AFP In pictures: Paris attacks Paris attacks Wounded people are evacuated from the Stade de France in Paris EPA In pictures: Paris attacks Paris attacks Two men evacuate the Place de la Republique square in Paris as a police officer looks on AFP In pictures: Paris attacks Paris attacks Football fans are evacuated from the Stade de France stadium In pictures: Paris attacks Paris attacks An armed police officer Dan Gabriel In pictures: Paris attacks Paris attacks The Stade de France is evacuated after reports of an explosion In pictures: Paris attacks Paris attacks A member of the French fire brigade aids an injured individual near the Bataclan concert hall In pictures: Paris attacks Paris attacks Wounded people are evacuated from the Stade de France in Paris In pictures: Paris attacks Paris attacks Police are seen outside a cafe in 10th arrondissement of the French capital Paris, In pictures: Paris attacks Paris attacks Rescuers assist an injured man on Boulevard des Filles du Calvaire, close to the Bataclan concert hall AFP In pictures: Paris attacks Paris attacks The scene at a restaurant in 10th arrondissement In pictures: Paris attacks Paris attacks The Bataclan theatre - where around 100 people are thought be held hostage In pictures: Paris attacks Paris attacks The Stade de France as it was evacuated In pictures: Paris attacks Paris attacks Forensic experts inspect the site of an attack outside the Stade de France stadium in Saint-Denis AFP

Interior Minister Gerard Collomb said 11 places of worship have been closed "for incitement to commit terrorist acts" under the state of emergency and 41 people are under house arrest because they have links to organisations spreading extremism and hatred.

The new law allows authorities to maintain such measures under certain conditions, including a judge's permission, after lawmakers made amendments to respond to criticism the original bill would infringe on individual liberties.

"Everyone noticed we needed a fair balance between security and freedom, and I believe this text meets this need," Mr Collomb said.

The new law also allows police to extend identity verification at border crossings up to 10 kilometres (6 miles) around international airports and train stations, and not just inside.