The growth of ampicillin resistant bacterial population (strain 1) infected by a virus declines as the virus enters lytic cycle. Then the virus undergoes lysogenic cycle and further remove themselves from bacterial genome during heat shock treatment to proteins. All the bacteria die after some time and only free virus now can grow. A second bacterial ampicillin sensitive population (strain 2) is the infected by this virus. Similarly the bacterial population decreases and ampicillin population rebounds. Which of the following phenomenon is responsible for the development of ampicillin resistance by bacterial strain 2?