The house was built in 1865 by a member of the Man clan who achieved the rank of tai fu ( mandarin ) by doing well in the Imperial Exam ? ­ inations .
A member of the Man clan built the house in 1865 .