A solenoid is provided having an improved connection arrangement. The solenoid includes external wires that are coupled to internal solenoid components via terminals. Further, a sealed solenoid is provided having a housing overmolded onto a solenoid subassembly. External wires can be coupled to the solenoid after overmolding. The solenoid may also include a cavity for receiving at least one of electrical component. The solenoid may also include a powdered metal core.