Medicine

In a diagnosed lepromatous leprosy patient, the treatment was staed. After intake to drug skin lesions and fever develop within few days. Which type of hypersensitivity reaction leads to this manifestation?