David Hasselhoff has been granted primary custody of his two daughters.Superior Court Judge Mark Juhas awarded the former 'Baywatch' actor sole physical custody of his children, Taylor-Ann, 17, and Hayley, 14, on Friday. Hasselhoff left the courthouse smiling, saying it was "a beautiful day to go to the beach". He added: "The judge said today, 'Enough - enough is enough, these children have been through enough."The 54-year-old star's ex-wife Pamela Bach has been told she can visit her daughters on alternate weekends and on Wednesday nights for dinner. Hasselhoff's attorney Melvin S. Goldsman said: "If, down the road, the kids are comfortable seeing her more, Mr. Hasselhoff has said he will let his children see their mother as often as they want to."Bach, 42, was seen crying in a hallway of the courthouse, and reportedly overheard sobbing to her lawyer "I just lost my kids".The pair's bitter and lengthy court battle began in January 2006, when they both independently filed for divorce after 16 years of marriage. They divorced last August. In May, the 'America's Got Talent' judge was temporarily barred from visiting his daughters following the emergence of a videotape of him drinking Taylor-Ann's presence.The footage, which surfaced on the Internet, showed Hasselhoff rolling around shirtless on the floor trying to eat a hamburger. The judge reinstated his visitation rights late last month.