The present application relates generally to the field of coatings and more specifically to providing a coating which provides protection against tribocorrosion. The provision of the coating comprises applying a wear resistant coating to the surface, immersing the surface in a precursor sol- gel solution having an electrolyte, and applying an electrical potential to the surface to cause electrodeposition. The coating of the invention is particularly suitable for use as a conformal coating.