When Khair MLA Anoop Pradhan was elected to the Lok Sabha in 2024, the BJP fielded Diler in the by-election held in November 2024, which he won by a margin of about 38,000 votes.
On 10 May 2026 he was one of four new Ministers of State inducted into the Yogi Adityanath government and was given the Revenue department.