So when rival brand Milka challenged its German monopoly on square chocolate, the battle lines were drawn.
Milka achieved an initial victory in 2016 by getting the trademark deleted but that ruling was overturned.
Finally, the case ended up in the Federal Court of Justice, where judges have now thrown out Milka's complaint and ruled in favour of Ritter Sport.
Read MORE
BBC NEWS