A man who injured three people by driving a car at them in the German city of Heidelberg has been shot and injured by police.

The attacker drove what is thought to be a rental car into pedestrians in one of the city's central squares. One of those injured is said to be in a serious condition.