The only reason the party was a success was that the Prime Minister attended.
The only reason the party was a success was that the Prime Minister attended.
The only reason the party was a success was that the Prime Minister attended.
But for the Prime Minister’s attendance, the party would not have been a success.