He reveled in his accomplishments, criticized the Trump administration and looked for common ground with Republicans.