You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
United_Methodist_Church

Context:
In addition, the United Methodist Church prohibits the celebration of same-sex unions. Rev. Jimmy Creech was defrocked after a highly publicized church trial in 1999 on account of his participation in same-sex union ceremonies. It forbids any United Methodist board, agency, committee, commission, or council to give United Methodist funds to any gay organization or group, or otherwise use such funds to promote the acceptance of homosexuality. Other ministers have been defrocked for officiating at same-sex weddings and several trials of others are scheduled. Still, some congregations have sought other ways to recognize same-sex couples. For example, one congregation hosted a proposal for a same-sex couple announcing their engagement. Moreover, some churches, especially in 2016 after same-sex marriage was legalized nationwide, have provided blessings for same-sex marriages. In April of 2016, a United Methodist bishop made a bold statement by performing a same-sex marriage in church as a clear sign of his advocacy for change.

Question:
In what year was same-sex marriage legalized nationwide?

2016