Congressman Joe Kennedy III addresses Easthampton Democratic Committee in Holyoke

Rep. Joe Kennedy III addressed the Easthampton Democratic City Committee in October. 2015.

(Mary Serreze)

BOSTON - Massachusetts Rep. Joe Kennedy III opened the door to a U.S. Senate run if Elizabeth Warren agrees to be Hillary Clinton's running mate and wins the White House.



Taping an appearance on WCVB's political chat show "On The Record," Kennedy said he'd consider a run for Warren's seat.



Warren, D-Cambridge, was one of his professors at Harvard Law School.



If Warren leaves the Senate, the move would allow Gov. Charlie Baker to make an interim appointment before the set-up of a special election to fill the seat.

OTR guest @joekennedy says IF @elizabethforma leaves to be VP he'd consider US Senate OTR 11AM Sun 7/3 #wcvb #mapoli pic.twitter.com/k38WPUZHUo — Janet Wu (@WuWCVB) June 30, 2016



The show airs on Sunday, July 3, at 11 a.m.



A Brookline Democrat who ran and won Barney Frank's seat after the longtime congressman retired, Kennedy previously worked as an assistant district attorney in Middlesex County and the Cape and Islands area.



Kennedy's Congressional district runs from Brookline to Fall River on the South Coast.



Former Rep. Joseph Kennedy II is his father and the late U.S. Sen. Edward Kennedy was his great-uncle.



Warren, whose term ends in January 2019, won the Senate seat in 2012, beating incumbent Scott Brown.



Donald Trump says he hopes Elizabeth Warren chosen as Hillary Clinton's running mate



