A 10-year-old girl was swimming in a lake near Orlando on Saturday when she got attacked by an alligator. But she's alive because she's a total badass.

The alligator that attacked her was about nine-feet-long, and latched onto her left thigh. Luckily, she recently went to a wildlife park in Orlando called Gatorland, and learned what to do if you're ever attacked by one.

Most people would probably assume that poking it in the eye would be your only chance. She learned that's not actually right. Instead she punched it in the nose, which is what you're supposed to do.

That stunned it for a few seconds and she was able to use her hands to pry its jaws open and escape.

She ended up with some puncture wounds on her leg, but it looks like she'll be fine. Wildlife officials caught the alligator and euthanized it.

Two experts from Gatorland posted this video to Facebook and said she did exactly what you're supposed to do if you ever get attacked:

Read more at Orlando Sentinel.