President Bartlet 's final act as President of the United States is pardoning Toby Ziegler . President Bartlet 's final act as President of the United States is pardoning Toby Ziegler , who had violated federal law by leaking classified information about a military space shuttle .