Matthias Ecke, 41, a member of the Social Democrats (SPD), was hospitalised after being hit and kicked by a group of four people while putting up posters in Dresden, police said.