BERLIN -- German authorities called the deadly truck attack on a crowded Christmas market an "act of terrorism" that had all the hallmarks of Islamic extremism, but on Tuesday they released the only suspect, a man taken into custody near the scene, saying they lacked sufficient evidence tying him to the rampage.

The man, a Pakistani citizen who came to Germany last year, had been picked up based on a description of a man who jumped out of the truck and fled after the attack Monday night that killed 12 and wounded 48 people.

But federal prosecutors said late Tuesday that he denied any involvement and they had found no forensic evidence proving he was in the cab during the rampage. Additionally, no witnesses had followed him from the scene to the spot where he was picked up.

Under German law, prosecutors have until the end of the calendar day following an arrest to seek a formal arrest warrant keeping a suspect in custody.

Federal Criminal Police Office chief Holger Muench and other officials had expressed doubt earlier that the man in custody was driving the truck at the time of the attack. Muench also said police haven't yet found a pistol authorities believe was used to kill a Polish truck driver who was supposed to be delivering the steel beams the truck was carrying.

Berlin police, meanwhile, urged people to remain "particularly vigilant" and report "suspicious movements" to a special hotline.

"We may still have a dangerous criminal out there," Berlin police chief Klaus Kandt said.

Germany's top prosecutor, Peter Frank, told reporters the attack on the market outside the landmark Kaiser Wilhelm Memorial Church was reminiscent of July's deadly truck attack in Nice and appeared to follow instructions published by the Islamic State group.

"There is also the prominent and symbolic target of a Christmas market, and the modus operandi that mirrors at least past calls by jihadi terror organizations," Frank said.

Still, he said authorities had not yet heard any claim of responsibility.

Chancellor Angela Merkel insisted the attack cannot change Germans' way of life.

"Twelve people who were still among us yesterday, who were looking forward to Christmas, who had plans for the holidays, aren't among us anymore," she said in an emotional, nationally televised statement before heading to the scene of the attack in downtown Berlin. "A gruesome and ultimately incomprehensible act has robbed them of their lives."

Later Merkel and German President Joachim Gauck attended a memorial service at the Kaiser Wilhelm Memorial Church and laid white roses outside the church.

Witnesses saw only one man flee from the truck after it rammed into the crowd at the Christmas market, smashing wooden stalls and travelling 60 to 80 metres (200 to 260 feet) before coming to a halt.

Six of those killed have been identified as Germans, and a man found shot and killed in the truck's passenger seat was Polish. The other five people killed have not yet been identified. Twenty-five people remained hospitalized, 14 with serious injuries.

Merkel, who has been criticized for allowing in huge numbers of migrants last year, addressed head-on the possibility that an asylum-seeker was responsible for the carnage.

"I know that it would be particularly hard for us all to bear if it were confirmed that a person committed this act who asked for protection and asylum in Germany," Merkel said. "This would be particularly sickening for the many, many Germans who work to help refugees every day and for the many people who really need our help and are making an effort to integrate in our country."

A spokesman for Berlin's office for refugee affairs said police conducted a broad search overnight at a large shelter for asylum-seekers at the city's now-defunct Tempelhof airport. Four men in their late 20s were questioned but no one was arrested, Sascha Langenbach told The Associated Press.

The Polish owner of the truck said he feared the vehicle had been hijacked. Ariel Zurawski said he last spoke with the driver, his cousin, around noon on Monday and the driver told him he was in Berlin and scheduled to unload Tuesday morning.

"They must have done something to my driver," he told TVN24.

Germans have been increasingly wary since two attacks by asylum-seekers last summer that were claimed by the Islamic State group. Five people were wounded in an axe rampage on a train near Wuerzburg and 15 wounded in a bombing outside a bar in Ansbach, both in the southern state of Bavaria. Both attackers were killed.

Those attacks and two others unrelated to Islamic extremism in the same weeklong period, contributed to tensions in Germany over the arrival last year of 890,000 migrants.

Far-right groups and a nationalist party seized on Monday night's attack, blaming Merkel for what happened.

"Under the cloak of helping people Merkel has completely surrendered our domestic security," Frauke Petry, the co-chairwoman of the Alternative for Germany party, wrote.

Manfred Weber, a member of Merkel's conservative bloc and leader of the European Parliament's biggest political group, cautioned against sweeping verdicts but said it was important to ensure that extremists didn't enter the country.

The German government said Merkel spoke Tuesday with U.S. President Barack Obama, who expressed his condolences. In Washington, White House National Security Council spokesman Ned Price said the United States was ready to help in the investigation and response.

U.S. President-elect Donald Trump said Islamic extremists must be "eradicated from the face of the Earth" and pledged to carry out that mission with all "freedom-loving partners."

The attack came less than a month after the U.S. State Department warned that extremist groups, including Islamic State and al-Qaida, were focusing "on the upcoming holiday season and associated events" in Europe.

The Islamic State group and al-Qaida have both called on followers to use trucks in particular to attack crowds. On July 14, a truck plowed into Bastille Day revelers in the southern French city of Nice, killing 86 people. IS claimed responsibility for that attack, which was carried out by a Tunisian living in France.

Associated Press writers David Rising and Geir Moulson in Berlin and Angela Charlton in Paris contributed to this report.