Hamilton Sheriff Court heard William Milligan carried out the attack after seeing his pal having an argument in Laurel Drive, Wishaw.