The suspect in the deadly attack on Berlin's Pride festival, which left one person dead and 29 injured, was shot dead by police during a confrontation on Sunday in a suburb of the city, authorities said.

Abdul Ballout, a German citizen of Lebanese heritage, was killed following a search that lasted nearly 24 hours after Saturday night's attack in downtown Berlin. Prosecutors said he had previously attempted to join the militant Islamic State group, according to AP News.

Ballout was suspected of driving a van into a crowd near the Pride festival before allegedly stabbing others with a machete, in what authorities believe was an Islamist extremist attack.

"Everything we see here points to us dealing with an Islamic terror attack," Interior Minister Alexander Dobrindt said.

Dobrindt put the total number of wounded at 29. The attack occurred a few hundred metres from a party near the Brandenburg Gate that was to close out the city's Pride festival.