Active galaxies are characterized by prominent emission from their nuclei. In the unified view of active galaxies, the accretion of material onto a massive compact object - now generally believed to be a black hole - provides the fundamental power source. Obscuring material along the line of sight can account for the observed differences in nuclear emission, which determine the classification of AGN (for example, as Seyfert 1 or Seyfert 2 galaxies). Although the physical processes of accretion have been confirmed observationally, the structure and extent of the obscuring material have not been determined. Here we report observations of powerful hydroxyl (OH) line emissions that trace this obscuring material within the circumnuclear environment of the galaxy Markarian 231. The hydroxyl (mega)-maser emission shows the characteristics of a rotating, dusty, molecular torus (or thick disk) located between 30 and 100 pc from the central engine. We now have a clear view of the physical conditions, the kinematics and the spatial structure of this material on intermediate size scales, confirming the main tenets of unification models.