According to France Info, the police operation was carried out in two stages. First, they managed to free two hostages, after which they detained the perpetrator, who had shot the third hostage, his ex-girlfriend, and tried to commit suicide afterward.
The media outlet also stressed that the man, armed with a shotgun, fired at the police without harming anyone.
The first shots were fired at 11:00 a.m. local time (09:00 GMT) on Tuesday morning.
The Hautes-Pyrenees prefecture then confirmed this information and said a security perimeter had been set up in the town.