Jon Kopaloff/FilmMagic; Karl Larsen/FilmMagic
05/21/2007 at 06:00 PM EDT
David Hasselhoff regained his parental rights Monday after he agreed to alcohol testing three times per week, a source close to the custody case tells PEOPLE.
The actor, wearing a navy pinstripe suit and looking upbeat, made a rare Los Angeles courtroom appearance in his year-and-a-half-long divorce battle. His ex-wife Pamela Bach also attended the hearing with celebrity attorney Debra Opri by her side.
On May 7, Los Angeles Superior Court Judge Mark Juhas
Hasselhoff from seeing daughters Taylor-Ann, 17, and Hayley, 14 after a drunken video
of the actor surfaced earlier this month.
Outside the courtroom, Hasselhoff said, "It went well today, and the truth was told." His lawyer had no comment.
Opri said only, "We're happy, but I can't say anything, I've been gagged (by the court)."
Hasselhoff, 54, filed for divorce from Bach in January 2006 after 16 years of marriage; she filed her own divorce claim the following day. The former couple have battled over finances and custody of their daughters ever since.
The videotape, officially entered into evidence Monday, will be discussed at the next hearing scheduled for June 1.
The custody decision was first reported by TMZ.com