Deputy Attorney General Rod Rosenstein Rod RosensteinDOJ kept investigators from completing probe of Trump ties to Russia: report Five takeaways from final Senate Intel Russia report FBI officials hid copies of Russia probe documents fearing Trump interference: book MORE advised a group of graduating law students on Friday to "take ownership of the consequential decisions" that they face and "conduct your own affairs with integrity."

"There is no point in wasting your time complaining about the random events. The key to living a life of integrity is to take ownership of the consequential decisions," Rosenstein said in a commencement address at Campbell University Law School in Raleigh, N.C.

He also urged the students to defend "the rule of law," saying that, as lawyers, they have an obligation to "speak up for the truth."

ADVERTISEMENT

"You are responsible for defending the rule of law," he said. "If you fail, do not expect me or anyone else to do it for you."

Rosenstein himself has faced a series of difficult decisions in his tenure as deputy attorney general.

After Attorney General Jeff Sessions Jefferson (Jeff) Beauregard SessionsGOP set to release controversial Biden report Trump's policies on refugees are as simple as ABCs Ocasio-Cortez, Velázquez call for convention to decide Puerto Rico status MORE recused himself from the investigation into possible collusion between the Trump campaign and Russia last year, Rosenstein took on responsibility for the probe.

Shortly after President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE fired former FBI Director James Comey James Brien ComeyDemocrats fear Russia interference could spoil bid to retake Senate Book: FBI sex crimes investigator helped trigger October 2016 public probe of Clinton emails Trump jabs at FBI director over testimony on Russia, antifa MORE, based on the recommendations of Sessions and Rosenstein, the deputy attorney general appointed former FBI Director Robert Mueller Robert (Bob) MuellerCNN's Toobin warns McCabe is in 'perilous condition' with emboldened Trump CNN anchor rips Trump over Stone while evoking Clinton-Lynch tarmac meeting The Hill's 12:30 Report: New Hampshire fallout MORE as special counsel to oversee the Russia investigation.

Trump has bristled privately and publicly at Mueller's investigation, and speculation has swirled in recent months that the president could dismiss Rosenstein or Mueller.

Speaking to students on Friday, Rosenstein emphasized the importance of acting with "integrity, so you will never need to look back with regret."

"Wherever life takes you, conduct your own affairs with integrity, so you will never need to look back with regret," he said.