Prior to World War I, calvary performed what is now the role of tanks; manoeuvring and breaking through enemy infantry to attack lines of communications and enemy supply lines in the rear. Due to the introduction of machine guns and semi-automatic infantry guns calvary became outdated.