The Egyptian, 25, has signed a five-year deal and has been a prime target for manager Jurgen Klopp.

At current exchange rates, the fee is short of the club record £35m paid for Andy Carroll in 2011 but matches the sum they spent in 2016 to make Sadio Mane the most expensive African player.

Salah almost joined Liverpool from Basel in 2014 before moving to Chelsea.

He said he was confident of helping his new club win a trophy this season.

"Liverpool haven't won the Premier League for a long time," he told Liverpool's website. "We have a great team and very good players.

"I was watching the games last year and everyone was giving 100% to win something. Everyone can see the coach gives everything. I hope to see that together we can give everything to win something for the club, for the supporters and for us."

Liverpool boss Jurgen Klopp said: "He has the perfect mix of experience and potential - this is a really exciting signing for us.

"I have followed him since he emerged at Basel and he has matured into a really good player.

"His pace is incredible, he gives us more attacking threat and we are already strong in this area. I like that we will make it even more competitive."

'I was a kid - now I'm four years older, everything is different'

Salah will wear the number 11 shirt, with Roberto Firmino moving to number nine.

After only six Premier League starts following his £11m move to Chelsea, Salah had loan spells at Fiorentina and Roma before joining the latter in a permanent move for about £15m last summer.

He was a key figure as Roma finished second in Serie A last season, scoring 15 goals in 31 league appearances.

The Egyptian said he has become a better player since his time at Chelsea.

"Everything [has improved]," he said. "Even my personality was different, I was a kid - I was 20 or 21. Now I'm four years older, everything is different. I have lots of experience in three clubs: I was at Chelsea, then Fiorentina and then Roma. I have good experience."

Liverpool have already signed Chelsea's 19-year-old striker Dominic Solanke, who was top scorer as England won the Under-20 World Cup and will join on 1 July.

That fee will be decided by a tribunal after he rejected a new contract at Stamford Bridge, with the fee expected to be about £3m.