Sen. Ted Cruz (R-Tex.) takes part in a debate with Rep. Beto O'Rourke (D-Tex.) on Tuesday in San Antonio. (Tom Reel/AP)

Sen. Ted Cruz (R-Tex.) declined to say Sunday whether he views President Trump as a friend or a foe, describing him as simply “the president.”

“He’s the president. I work with the president in delivering on our promises,” Cruz said in an interview on ABC News’s “This Week.” “What I told the president the week after the election, I said, ‘Mr. President, I want to do everything humanly possible to roll up my sleeves and lead the fight in the Senate to deliver on our promises.’ ”

Cruz and Trump traded some sharp — and, at times, personal — barbs during the 2016 campaign. Cruz called Trump a “pathological liar,” “utterly amoral” and a “sniveling coward,” among other choice phrases, while Trump attacked Cruz’s faith, threatened to “spill the beans” on Cruz’s wife and suggested the senator’s father was involved in the assassination of John F. Kennedy.

In September 2016, after delivering a ringing non-endorsement of Trump during the Republican National Convention, Cruz finally reversed course and declared that he would support Trump for president.

The two are set to appear together at a campaign rally in Houston on Monday night. Cruz is facing a competitive race against Rep. Beto O’Rourke (D-Tex.) in his bid for a second term in the Senate.

“That election’s over,” Cruz told “This Week” when asked about the insults he and Trump lobbed at each other during the 2016 campaign. “On Election Day in 2016, I really had a choice to make. . . . If I put my own personal hurt feelings ahead of representing Texas, that would have been abdicating my responsibility.”