After bleeding was controlled, capping material was placed in the cavity. Biodentine™ was prepared according to the manufacturer's instructions and used to fill half the cavity. The final restoration was either amalgam or a resin composite (Z250, 3M, ESPE, USA). Biodentine™ should set within 12 minutes according to the manufacturer; however, it occasionally took up to 30 minutes in this study. MTA reparative cement was prepared at a powder:liquid ratio of 3:1 using distilled water according to manufacturer's instructions . MTA was applied to exposed pulp tissue and adjacent dentine at a thickness of 1.5 to 3 mm. A water moist cotton pellet was then placed over the MTA, and the tooth was temporized with intermediate restorative material (IRM DENTSPLY, Caulk, USA). Patients were asked to contact the operator if they experienced pain. The first review appointment was scheduled a week after capping procedure. The patient was questioned about sensitivity, mastication discomfort, and sensations of pain. The final restoration for MTA group was placed during the first review appointment.