Retirement tax questions

Why did you get a 1099G?  Was it for unemployment or a state tax refund?