 On March 21, 2016, Castor took the oath of office as the first Solicitor General of Pennsylvania.Being summoned to her Scranton office by Pennsylvania Attorney General Kathleen G. Kane on March 4, 2016, without explanation, Castor met General Kane expecting her to request him to represent her in a private capacity.Instead, Kane offered him the newly created position of Solicitor General of Pennsylvania (later merged into the job of first deputy attorney general), and Castor accepted.