Push/Pull solenoid fades out

Hi, I'm a beginner so sorry if this problem is super basic. I'm trying to get this push/pull solenoid working, but its kind of unstable. At best, it pops up and down for a few moments and then it generally fades out and the force keeps declining until it doesn't even pop out. At worse, I'll have to manually push out the pin, it'll stay there for a few moments, and then go back down. I think voltage is being supplied to it sporadically? My "ON" and "L" light keep blinking, and the voltage seems to be supplied to the solenoid at the same time that the lights blink on (even if I specify to turn off pin13 in my code). I'm using a 9v adapter, a transistor, and a diode. Kind of worried I shorted my arduino.

"You will need a fairly good power supply to drive a solenoid, as a lot of current will rush into the solenoid to charge up the electro-magnet, about 1 Amp, so be careful of trying to power/activate from a computer's USB."

You're trying to power it from 9V battery? That has even less current capability than USB. Get a good wallwart to power the system.

I think what you are doing is trying to fry the 5V regulator on the arduino, or at least putting it into thermal shutdown. If you are using 9V into the arduino, the regulator has to dissipate 4V as heat.

You really need a second power supply just for the solenoid. If you must, try using 4xAA batteries.

Also putting that much current through a solderless breadboard is just insane. The connectors can't take the current.

Guess I really flubbed this up. After a smack on the back of the head from Paul, I looked at the picture with my glasses on (I'm sticking to it). The breadboard power rail is powered from Vin, which is a 9V walwart. The transistor is a TIP120 with a base straight to the power rail, no Cl resistor, no means of control, just straight to the rail.

Bottom line-you are shorting the power supply out. The TIP120, while archaic, will work if a resistor is put on the base. Using a mosfet is a better choice