put the petcock back on and close it, fill the tank with white vinegar and let it sit overnight.
Drain it and repeat until it runs clear. Once it runs clear, rinse it thoroughly.
Then, spray it inside with some WD40 and let that evaporate.
I did this with my old bike and it worked amazing.