The 28-year-old old, the oldest of the couple's five children, had been in jail since he was arrested and charged with assault and burglary on Saturday. At the hearing in Palmer District Court, Track wore yellow Mat-Su Pretrial Facility scrubs and said little as the judge approved house arrest with electronic monitoring, according to the Anchorage Daily News. He was later released on a $5,000 cash bond, E! News has confirmed.

Track will not be allowed to go within an "exclusion zone" around his parents' home or near liquor stores or places serving alcohol and also cannot drink and must take prescription drugs only as prescribed. In addition, all weapons must be taken out of his house, the judge said.

Todd told the judge by phone that the family supports the house arrest request and that he, Sarah and Track's younger siblings Trig and Piper still want contact with him, the newspaper said, adding that it is not known if the children were in the house during the assault.

Watch

According to court records, the son of the 2008 Republican vice presidential candidate and former governor of Alaska allegedly broke through a window of his parents' house in Wasilla, Alaska, on Saturday night before scuffling with his father. Todd claimed Track called him to say he was coming to get his truck. The elder Palin said he told him he could not come and said Track had been drinking and taking prescription pills. Track allegedly told him he was coming anyway to "beat his ass."

Todd armed himself with a pistol as he waited for him but "decided he was not going to shoot his son," according to court documents. Track claimed he broke the window after he allegedly saw Todd tap the barrel of the gun on it. His father said he got his pistol to protect the family. The men then scuffled. Police say Sarah called 911.

During the confrontation, Track allegedly put Todd on the ground and started hitting him on the head. After his arrest, Track told police that his father had pointed the gun at him, after which Track said he goaded his father to shoot him. The affidavit said Track admitted to drinking a few beers earlier that night.

Track was charged with a felony count of burglary with attempted injury, misdemeanor assault and criminal mischief for alleged property damage.

Track had faced several domestic violence charges in 2016. He was convicted of misconduct involving weapons for possessing a weapon while intoxicated.