Which sentence correctly uses a semicolon?

I wanted to go to the concert, however; I realized I didn't have enough money.
I wanted to go to the concert; however; I realized I didn't have enough money.
I wanted to go; to the concert, however I realized I didn't have enough money.
I wanted to go to the concert; however, I realized I didn't have enough money.

The sentence "I wanted to go to the concert; however, I realized I didn't have enough money." correctly uses a semicolon.