Article 142 of the Constitution of India deals with Enforcement of decrees and orders of Supreme Court and unless as to discovery, etc. It states that the Supreme Court in the exercise of its jurisdiction may pass such decree or make such order as is necessary for doing complete justice in any cause or matter pending before it. Recently, the Supreme Court of India appointed the new Lokayukta of Uttar Pradesh, by exercising powers granted by Article 142of the Constitution. The state government had amended the state act with a provision that: Lokayukta shall, notwithstanding the expiration of his term, continue to hold office until his successor enters upon his office. With this act, Lokayukta N K Mehrotra of UP continued in office more than the prescribed term. This amendment was challenged in the court, and as a result of which the Supreme Court directed the state government to appoint new Lokayukta within six months from the date of verdict. But with the state government failing to comply with the orders, the Supreme Court exercised the powers granted to it via Article 142 of the Indian Constitution to appoint Virendra Singh as the new Lokayukta of UP.