Shruikan is Galbatorix's black dragon. After being denied a new dragon after his was killed by Urgals, Galbatorix stole another Rider's dragon, killed the Rider, then used a dark ritual in an attempt to recreate the bond forged by elves and dragons and force Shruikan to serve him. Shruikan was spared from the Banishing of the Names because he did not choose to help Galbatorix, but was forced to.
Shruikan has gone mad from being "bonded" to Galbatorix, it is commented that at this point it would be far more humane to simply kill Shruikan due to this madness. In the final battle of Inheritance, he is killed by Arya who throws the Dauthdaert - one of twelve special spears designed to kill dragons - which enters and cuts through one of his blue eyes.
Read more about Shruikan: References