An analysis of Merck internal documents concluded that the pharmaceutical company carried out a clinical study of Vioxx in 1999, "primarily to support a marketing campaign before the drug's launch." Merck stated that the study was done "to test side effects of the painkiller Vioxx," which was pulled from the market in 2004, after being linked to an increased risk of heart attacks.