Sale of Property thru Power of Attorney

When executing property sale transaction using power of attorney does the power of attorney holder is liable for capital gains or the owner of the property. In Who’s name does the sale proceeds (Cheque/DD) goes to ?