Unexpected symbol `}'

using UnityEngine;
using System.Collections;

public class myGUI : MonoBehaviour {
	public Texture backgroundTexture;
		// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
	void OnGUI(){
		GUI.DrawTexture (new Rect (0, 0, Screen.width, Screen.height), backgroundTexture);
	
		if (GUI.Button (new Rect (100, 200, 100, 50), "Play Game")) {
			Application.LoadLevel("level1")}
	}
}

heres teh errors : Assets/mygui.cs(21,1): error CS8025: Parsing error

Assets/mygui.cs(19,56): error CS1525: Unexpected symbol `}’

Add symbol “;” after Application.LoadLevel, how:

 if (GUI.Button (new Rect (100, 200, 100, 50), "Play Game")) {
  Application.LoadLevel("level1");
 }

You’re missing a semicolon after your Application.LoadLevel.

Problem is a missing ; on line 19

Code should be

void OnGUI(){
    GUI.DrawTexture (new Rect (0, 0, Screen.width, Screen.height), backgroundTexture);

    if (GUI.Button (new Rect (100, 200, 100, 50), "Play Game")) {
        Application.LoadLevel("level1");
    }
}

Note: Someone pointed this out in the comments but UA bugged out when I tried to convert to an answer.