It was unexpected because Thompson wasn't running for the position and was, unbeknownst to him, the subject of a write-in campaign.
It was unexpected. This was unbeknownst to him. Thompson wasn't running for the position. Thompson was. Him was the subject of a write-in campaign.