Mohamed Salah announced on Tuesday evening that he will leave Liverpool at the end of the season after nine years at the club.