Hangzhou Wahaha Group signed an agreement in 1996 to transfer the Wahaha brand to Hangzhou Wahaha Food Co. a joint venture with Danone but the agreement failed to get the approval from China's state trademark office the statement said .