Task: Text to Code
Input (English): Step 1: For each row in party table, find the corresponding rows in election table.
Step 2: for each value of District in the results of step 1, calculate number of rows.
Step 3: show each value of District in the results of step 1 along with the number of rows with largest value in the results of step 2
Output (English): SELECT T1.Attorney_General , Count ( * ) FROM party AS T1 JOIN election AS T2 ON T1.Party_ID = T2.Party GROUP BY T2.District ORDER BY Count ( * ) Desc LIMIT 1