Bob Oliva is a former Christ the King High School basketball coach. Photo: Vincent DeWitt

Famed city Catholic hoops coach Bob Oliva today pleaded guilty to raping a 14-year-old boy during a trip to Boston in the 1970s — as the victim’s lawyer announced a $20 million lawsuit against him.

Oliva, who won 549 games during his legendary three-decade career at Christ the King HS in Queens, was placed on probation for five years for the rape of Jimmy Carlino, who gave a powerful, tear-filled victim impact statement during a court hearing in Boston.

The Myrtle Beach, SC, resident Oliva, 66, also was ordered to wear a GPS tracking device, is barred from coaching, must not be around children under the age of 18 without supervision, and also must register as a sex offender.

Oliva had faced the possibility of a sentence of up to life in prison if convicted at trial of two counts of child rape, and one count of disseminating pornography, which he pleaded guilty to today.

Afterward, former Yankees and Mets pitcher Allen Watson told reporters that when he was a boy Oliva had shown him pornographic material, masturbated while watching porn with Watson and took him to prostitutes so that the coach could watch Watson having sex.

Watson, a 40-year-old graduate of Christ the King, in 2010 had testified before the Boston grand jury that indicted Oliva in the Carlino case.

The crimes against Carlino — occurred over two days in the summer of 1976, when Oliva took the then-14-year-old Carlino from New York to Boston see the Yankees play the Red Sox in a double-header at Fenway Park.

Oliva’s guilty plea ended years of denial and efforts by his backers to smear Carlino as a money-hungry liar.

But Carlino and his lawyer said Oliva molsted him more than 100 times over a four-year period in the 70s and in several states as well as Quebec, Canada.

He had resigned in 2009 from Christ the King under the threat of indictment in Boston, which he claimed was causing him health problems.

Carlino’s lawyer, Mitchell Garabedian, after the court hearing handed out to reporters copies of $20 million lawsuit that has been filed against Oliva, the Diocese of Brooklyn, Christ the King and other defendants in New York.