A frail but determined William H. Rehnquist fulfilled a promise by swearing in President Bush on Thursday in the chief justice’s first public appearance since being diagnosed with cancer three months ago.

Rehnquist was pale and walked stiffly with a cane. He administered the oath in a clear, raspy voice. It was the fifth and very likely last time he will swear in a president.