We solve the master equation of a two-qubit system with the induced unitary term and the dissipation term coming from the system-environment coupling. We explain under this situation how entanglement between two qubits can be generated and persist at the asymptotic time.