YOU SAID:
I was going to the party but ended up in the hospital instead.
INTO JAPANESE
私はパーティーに行くが、代わりに病院で終わった。
BACK INTO ENGLISH
I will go to the party, but instead ended at the hospital.
INTO JAPANESE
私は党に行くが、代わりに病院で終わった。
BACK INTO ENGLISH
I will go to the party, but instead ended at the hospital.
That didn't even make that much sense in English.