President Obama and his wife, Michele, gave a total of $48,000 in tax-free gifts to their daughters, according to tax records made public on Friday.

The president and his wife separately gave each daughter a $12,000 gift under a section of the federal tax code that exempts such donations from federal taxes.

There is nothing illegal about the president’s taking advantage of this tax shelter, but it does raise eyebrows given that he has lamented the myriad tax exemptions used by the wealthy—“millionaires and billionaires” like himself—to pay less in taxes.