Background. The existence of internet technology can make it easier for people to get information and facilitate communication, but the internet can also have a negative impact on society, one of which is a medium for finding information or sites that contain gambling. This can change the pattern of ordinary or conventional gambling to gambling with internet media or what is commonly called online gambling, so that it can be accessed anytime and by anyone. Purpose. Gambling is a prohibited act as stipulated in Article 303 of the Criminal Code, 303 bis of the Criminal Code, and Article 27 paragraph (2) of the Law on information and electronic transactions. In verdict number 233/Pid.B/2022/Pn.Cbd the author found a discrepancy in the application of the article, so the problem in this study is "How is the application of the law of online gambling in verdict number 232/Pid.B/2022/Pn.Cbd?". Method. This research uses normative juridical types contained in laws and court decisions, as well as legal norms that exist in society. Results. The results in this study are that the public prosecutor's indictment has used a single charge by applying article 303 paragraph (1) 2 of the Criminal Code and the judge has decided in accordance with the public prosecutor's indictment. Conclusion. This can make law enforcers override the principle of lex spesialis derogate legi lex generalis, because they do not apply article 27 paragraph (2) of the Electronic Information and Transactions Law.