A man who apparently took several people hostage in a New Hampshire campaign office of U.S. presidential candidate Hillary Clinton has been arrested after a five-and-a-half hour standoff.

Television footage showed a man being escorted out of the building by police late Friday.

The suspect released three people from the campaign office over the course of the day. He is believed to be a local man with a reputation for mental instability.

After the arrest, CNN television revealed its personnel had been in telephone contact with the suspect over the course of the day, after a hostage in the campaign office called the CNN Washington bureau. The network said the suspect was complaining about mental health care.

Senator Clinton canceled a scheduled appearance today at an event in northern Virginia. She gave a press conference shortly after the arrest, thanking local law enforcement for their handling of the situation. She also commended the courage of the families of the hostages.

No injuries were reported.

Some information for this report was provided by AFP, AP and Reuters.