UNITED NEWS INTERNATIONAL (UNI) — Surfers in Western Australia were on the lookout for sharks after two attacks were reported in the same area within just hours of each other.

Alejandro Travaglini suffered significant injuries to both of his legs after being attacked April 16 at Cobblestones beach, about 270 kilometers south of Perth.

The 37-year-old was airlifted to a hospital where he underwent surgery.

He is reportedly now in stable condition.

The incident prompted the temporary closure of the Margaret River Pro, a surfing competition happening nearby.

Several beaches in the area were also closed.

Many surfers, however, ignored the beach closures, and just hours laters a second person was attacked.

Jason Longgrass was left with minor injuries after being bitten on the leg around 2 kilometers from the site of the first attack.

Local media reports authorities had warned people of a whale carcass in the area, which they said might attract sharks.