Updated

Selena Gomez and Orlando Bloom, who is currently dating Katy Perry, were getting very close at a Las Vegas nightclub Friday, an insider confirms to Page Six.

We’re told Gomez arrived at Light in Mandalay Bay with her friends, after the opening night of her Revival Tour. Bloom arrived with his friends, but the “Lord of the Rings” star made his way to her table during the night. They were seen alone at the table looking very cozy, according to witnesses.

“They spent a solid hour together and there was tons of security in front of her table,” says the source. “It was just the two of them, her friends were on the dance floor. It got a little heated. They were talking closely.”

TMZ has images that appear to be from security cameras showing the pair in an embrace. A source told us the pictures were not taken from security footage, but were taken by someone above them on the second level of the club with a camera.

In January, Gomez wished Bloom a happy birthday with an Instagram post, writing: “Happy bday Orly -celebrate kindness and who you are.”

Bloom and Gomez have been close for years, with rumors about their relationship floating around in 2014 after Bloom’s public fight with Gomez’s ex, Justin Bieber.

Two summers ago, Bloom took a swing at Bieber at Cipriani in Ibiza, Spain, after the singer made a rude comment about Bloom’s ex-wife, Miranda Kerr.

The trouble between the pair had been brewing since 2012, when Bieber was spotted flirting with Kerr backstage at the Victoria’s Secret fashion show. On Saturday, Bloom was spotted at XS nightclub in Wynn minus Gomez to celebrate a bachelor party.

He was seen with Perry, whom he has been dating since January’s Golden Globes, last week at the Met Gala. But on Friday, Perry was seen at a Renaissance fair in California.

So far, there’s been no comment from reps for Bloom, Gomez or Perry.

This story first appeared on PageSix.com.