BOSTON — U.S. Sen. Scott Brown has repeatedly spoken out against President Obama’s health care law, yet is using a portion of it to provide insurance for his adult daughter.

The Massachusetts Republican told the Boston Globe that “of course” he uses a provision of the law that allows parents to keep their children on family insurance plans up to age 26. His daughter, Ayla, is 23.

Brown, who won his seat by campaigning against the law, says he still thinks it should be repealed.

Democrats, including the campaign of his chief rival Elizabeth Warren, quickly labeled Brown a hypocrite, saying he’s trying to prevent other parents from providing insurance for their children even as he takes advantage of the benefit.

Brown has voted three times to repeal the law.