A BBC Two show featuring a dog trainer using her techniques to teach women how to modify their husbands' behaviour was not sexist, regulators have ruled.
Dog training techniques were used on husbands in the show
Ofcom said Bring Your Husband To Heel was a "humorous take" on relationship self-improvement programmes.
More than 200 viewers complained to the BBC about the show and 35 people contacted Ofcom to say the programme was "demeaning and offensive".
The BBC has apologised for "any upset" the programme might have caused.
It has accepted that some viewers found Bring Your Husband To Heel was "inappropriate".
But the BBC said it would have been apparent to most viewers that stereotypes were being gently sent up rather than endorsed.
The premise of the show, produced by Talkback Thames, saw Annie Clayton tackle stereotypical "husband problems" such as computer addiction and failing to do chores.
Some of the complaints to Ofcom suggested a programme showing women or minority groups treated in the same way would never have been broadcast.
But Ofcom said the "battle of the sexes has always been part of British culture through literature and other media".
Ofcom said: "This programme, set in the factual entertainment genre, was part of that tradition.
"It was clear from the context that the programme was not seriously proposing a demeaning view of men."