Cardinal Timothy M. Dolan, the archbishop of New York, will deliver the closing prayer at the Republican National Convention in Tampa, Fla., after Mitt Romney accepts the party’s presidential nomination next week.

Mr. Romney revealed the news in an interview with the Roman Catholic broadcaster EWTN that is to be shown on Thursday evening. The host of the program, Raymond Arroyo, shared excerpts from the interview on Wednesday.

Joseph Zwilling, spokesman for the Archdiocese of New York, said Cardinal Dolan’s agreement to participate, which occurred “within the last two weeks,” should not be seen as partisan.

“Cardinal Dolan is going to pray, not to engage in partisan politics,” Mr. Zwilling said. “He made it clear when he accepted the invitation that he would also accept an invitation from the Democratic National Committee to offer a prayer at their convention, should they ask.