Pharmaceuticals could potentially pose detrimental effects on aquatic ecosystems and human health, with wastewater treatment being one of the major pathways for pharmaceuticals to enter into the environment. Enhanced removal of pharmaceuticals has been widely observed by ammonia oxidizing bacteria (AOB). However, the degradation mechanisms involved in pharmaceutical biotransformation were still ambiguous. In addition, pharmaceutical biotransformation models have not yet considered transformation products associated with the metabolic type of microorganisms. The overall objective of this thesis is to understand the contribution of different metabolisms by relevant microorganisms to the biotransformation of selected pharmaceuticals (i.e., atenolol and acyclovir) accompanied with the formation of their transformation products in an enriched nitrifying sludge, in terms of product identification, influencing factor assessment and mathematical modeling.Biodegradation of atenolol in an enriched nitrifying sludge was studied under different metabolic conditions. The positive link was observed between atenolol biodegradation and the cometabolic activity of AOB in the presence of ammonium, likely due to a broad substrate spectrum of ammonia monooxygenase (AMO). In the presence of ammonium, atenolol was transformed into P267 (atenolol acid) and three new products including P117(1-isopropylamino-2-propanol), P167 (1-amino-3-phenoxy-2-propanol), and an unknown product P227. However, atenolol was only transformed to P267 and P227 in the absence of ammonium. The formation of P117, P167 and P227 was further confirmed from follow-up atenolol acid biodegradation experiments in the presence of ammonium. Therefore, a tentative biodegradation pathway of atenolol is proposed in the enriched nitrifying sludge, consisting of two steps regardless of the presence of ammonium: i) microbial amide-bond hydrolysis to carboxyl group, producing P267 and ii) a possible formation of P227 and other two cometabolically induced reactions: iii) breakage of ether bond in the alkyl side chain to produce P117 and iv) a minor pathway through N-dealkylation and loss of acetamide moiety from the aromatic ring, yielding P167. An important insight was herein provided regarding the biotransformation pathways of pharmaceuticals under different metabolic conditions.To further assess the influence of the growth substrate on atenolol biotransformation in enriched nitrifying culture, different ammonium concentrations were applied constantly to study atenolol degradation kinetics and the biotransformation product formation dynamics.Higher ammonium concentrations led to the lower atenolol removal efficiencies probably II due to the substrate competition between ammonium and atenolol. The formation of biotransformation product atenolol acid was positively related to the ammonium oxidation activity, resulting in a higher amount of atenolol acid at the end of experiments at higher ammonium concentrations. Positive correlations between ammonia oxidation rate an...