TOULOUSE, France — A gunman who authorities say had psychiatric problems has released two of the four people he took hostage Wednesday in a bank in the southern French city of Toulouse.

The incident plunged this city into fear for the second time in recent months. Tensions have been high in Toulouse since March, when a gunman who police said claimed links to al-Qaeda killed three Jewish schoolchildren, a rabbi and three paratroopers in the area. Those were France’s worst terrorist attacks in years, and led to a crackdown on suspected Islamic radicals around France.

In Wednesday’s incident, a man with a firearm entered a CIC bank branch in central Toulouse at about 11 a.m. (0900GMT) and took the bank director and three other people hostage, police officials said.

The man calls himself “Boumaza” and has a criminal record, police said.

Toulouse Mayor Pierre Cohen said the gunman had been known to authorities for having psychiatric problems. He did not identify the hostage-taker.

French Prosecutor Michel Valet said that during negotiations, the gunman said he wanted to advertise the religious motivation behind his act.

“The hostage-taker… wants us to make it known that he is acting not for money, and that his motivations come from his religious conviction,” Valet told reporters at the scene. He did not say what faith the gunman adheres to.

French media reports say the gunman is claiming allegiance to al-Qaeda. Police officials who spoke to The Associated Press could not confirm this claim.

A gunshot was fired early in the hostage-taking. Residents and police heard another shot fired mid-afternoon, but the source of the shot was unclear.

The neighborhood around the bank was cordoned off, and neighboring buildings were evacuated. Officers from a specialized police unit, the GIPN, were at the scene.

The bank is in the same neighborhood where Mohamed Merah, the suspected gunman in the March attacks, was shot and killed by police. It is near the police station where authorities were overseeing the operation to surround and negotiate with Merah.

The mother of a child evacuated from a neighborhood school said on RTL radio that she had received a text message in the morning saying the CIC bank was being robbed.

Doriane Clermont, 23, lives across the street from the bank with her 3-year-old son — and said she’s “thinking of moving.”

“I’m worried about the climate that reigns in this city,” she said, waiting behind the police barrier to be able to return home after she was evacuated.

Resident Maria Gomes was similarly unsettled.

“We were walking when we heard great agitation in the neighborhood, with police cars,” she said. “Fear is coming back, after the Merah affair.”

Among those evacuated were 4-year-olds and 5-year-olds from a private language school next to the bank. Valerie Ruckly-Gravier, who heads the Happy Momes school, or Happy Kids, said police advised that the security parameters in place could last throughout the day.

The Paris headquarters of cooperative bank CIC is in contact with police in Toulouse, bank spokesman Bruno Brouchiquan said. He would not comment further. The bank describes itself as the second-largest retail bank in France and the leading bank insurance group, with thousands of branches in France and around the world.

The hostage-taker said he wanted the elite RAID national police force to come negotiate with him, police said. The RAID police force led negotiations and a 32-hour standoff with Merah, a Frenchman of Algerian origin, in his Toulouse apartment. Merah was shot in the head in a gunfight at the end of the standoff.

French authorities described Merah, the March attacker, as an Islamic radical who had trained in Afghanistan and Pakistan. French intelligence officials said at the time that they found no operational ties between Merah and al-Qaeda despite his claim.

His brother is in custody after being handed preliminary charges of complicity to plotting the killings at a Jewish school in Toulouse and of paratroopers in Toulouse and nearby Montauban.

Copyright 2012 The Associated Press.