The Competition Act, 2002 was passed to replace the MRTP Act, 1969. The MRTP Act was initially established to regulate monopolistic practices and restrict trade practices. The Competition Act, 2002 was later enacted to promote competition and prevent anti-competitive practices in India.