Sudoku X

This puzzle is a variation of traditional Sudoku. The main diagonals of this Sudoku variant must also not contain repeating numbers.

Sudoku X

Rules: In each cell of the NxN grid, enter a number in the range 1–N. Each number must appear exactly once in each row, column, and block.
Additional rules: The numbers on the two main diagonals must be different.