"I want to thank the organisers and the wonderful crowd who made all the difference as we cycled by, helping to spur me on to finish the gruelling 100 miles in a respectable eight hours.
"Huge congratulations to everyone who took part
"RideLondon is now firmly on the map as one of the greatest cycling events in the world."
Mr Johnson, who battled with a puncture to complete the challenge in just over eight hours, was taking part in one of a number of events this weekend in what was billed as the UK's largest festival of cycling.
Mr Johnson said: "This is a great day for cycling, and for this city.
More top news
George Osborne told MPs London would shoulder a large part of his 37% reduction in transport funding.
The prison was originally opened in 1852 as a mixed prison before becoming the first female-only local prison in England in 1902.
A man who tried to help a woman, who was being assaulted by other passengers on the Victoria Line, ended up being punched in the face.