John Gallagher, President Donald Trump's nominee for the U.S. District Court for the Eastern District of Pennsylvania, sat before the Senate Judiciary Committee on Wednesday morning for about 15 minutes and answered a total of three questions before the hearing adjourned.

Gallagher, an assistant U.S. attorney in the U.S. Attorney's Office for the Eastern District of Pennsylvania and chief of the office's Allentown branch, was nominated for a federal judgeship in late August.

On Wednesday, after Pennsylvania Sens. Bob Casey and Pat Toomey both made statements supporting his nomination, Gallagher and two fellow nominees—Silvia Carreno-Coll for the U.S. District Court for the District of Puerto Rico and Sherri Lydon for the U.S. District Court for the District of South Carolina—sat side by side and each took turns answering a pair of questions from committee chair Sen. Lindsey Graham and ranking member Sen. Dianne Feinstein.

Graham asked the nominees to describe what they believe makes for a good federal judge.

Gallagher, who was a police officer in Miami, Philadelphia and New York City before becoming a prosecutor, began to detail his 30-year career in public service when Graham interrupted him with a follow-up question: "Think you can be fair to defendants?"

"Absolutely, in fact I'm honored that I have letters of support from two dozen defense attorneys with whom I have litigated matters over the years," Gallagher replied. "Remember, a prosecutor's job is to do justice, not to collect convictions."

Feinstein then asked what role federal judges can play to ensure that all voters have access to the polls.

"Obviously I agree that the right to vote is paramount and is a bedrock of our democracy," Gallagher said, following up on Lydon's answer to the question. "Congress has passed laws to ensure that right is protected. In circumstances where there is a question—is the right being violated?—the parties can come before the court, which hopefully someday would include me, and I would review the arguments and review the law and … potential relief, to be more direct to your question, could include injunctive relief."

And with that, Graham adjourned the hearing.