You asked:

who was king of spain in 1790

  • Charles IV of Spain
    Charles IV of Spain
    In 1790, Spain's king was Charles IV of Spain.