He woke up to find himself famous.

Literal

Eye [subject-が] wake-up [when-と] famous had-become.

A quietly famous line in Japanese, echoing the Byron story ('I awoke one morning and found myself famous'). The structural trick is the past resultative 有名になっていた — not just 'became famous' but 'had become famous' — so at the moment of waking, the fame already existed as an accomplished state. ~ていた here is the past resultative: X had already happened and was in place when the reference time (waking) arrived.