grant the relief sought in the petition