A prominent YouTuber has pleaded guilty to offences under the UK's Gambling Act.

As reported by the BBC, Craig "Nepenthez" Douglas, 32, admitted a charge of being an officer of a firm that provided facilities for gambling without an operating licence, and a further offence relating to the advertising of unlawful gambling.

His business partner Dylan Rigby, 33, pleaded guilty to two charges connected to the provision of facilities for gambling, and a third offence linked to advertising illegal gambling.

Douglas and Rigby ran FUT Galaxy, a site that allowed players to bet virtual currency earned in the FIFA games or purchased on the black market.

Any winnings could then be transferred back into real-life money, or transferred back into the game.

Douglas promoted FUT Galaxy on his YouTube channel, which has more than 1.45 million subscribers.

The two men had previously pleaded not guilty. They are still to be sentenced.

"The worst year of my life concluded today," Douglas tweeted. "I have so much to say, but you’ll take whatever judgement you feel needed from the press.

"I want to thank all of those that have supported me through my journey. I would understand any viewers choice to no longer watch my content.

"I owe a huge apology to my family and close friends for putting them through this process, and appreciate all those that stood by me. I also owe a huge apology and debt of gratitude to my loyal supporters. Even if this is the end of our journey together, I’m grateful," he added.

"I’ll upload a video in due course presenting my side of the story. The facts remain I plead guilty to 2 charges, and a substantial fine was the outcome. I’d like once again to apologise to everyone and thank you all for being a part of my life. May our journey go forth."

This is the first time the UK's gambling commission has prosecuted people for running an unlicensed gambling website connected to a video game.

However, Douglas and Rigby are far from the only people engaging in such activity, and in many – if not all – cases, gambling website owners advertise "wins" that are staged for the camera on their YouTube channels. In other words, they see the site's dice rolls before the viewers do, and bet accordingly.

Last year Valve was the target of a lawsuit that alleged the company "knowingly allowed, supported, and/or sponsored illegal gambling by allowing millions of Americans to link their individual Steam accounts to third-party websites".

That prompted Valve to start sending out notices to gambling sites requesting they cease operations through Steam.