Complex sentence: He is pained when he finds out Toby has leaked classified national security information and publicly fires him, but eventually signs a pardon for Toby as his last official act as President.
Split into simpler sentences: He is pained when he finds out Toby has leaked classified national security information and publicly fires him. Bartlet eventually signs a pardon for Toby in his last official act as President.