The power supply probably died, if you didn't turn it on while you plugged it in, then other components probably not affected. iFixit sells power supplies for these computers.
open