 In practice, Castor operated as a bridge between Kane and the remainder of the office of attorney general, in addition to being the final word on legal matters, in order to make the executive portion of the office function properly.However, following Democrat Kathleen Kane's sudden resignation, Republican Castor was sworn in as Acting Attorney General of Pennsylvania, no longer simply de facto attorney general, though later that week Democrat Governor Tom Wolf nominated Democrat Inspector General Bruce Beemer to serve the remainder of Kane's term.The Pennsylvania Senate confirmed the nomination quickly.